Skip to content

Commit 1c0a066

Browse files
committed
update
1 parent 398c5f1 commit 1c0a066

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Sources/d3-async-location/LocationManagerAsync.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public final class LocationManagerAsync: NSObject, CLLocationManagerDelegate, IL
132132
locations.forEach{ pass(location: $0) }
133133
}
134134

135-
/// Determine status after the request permission
135+
/// Notify about location manager changed authorization status
136136
/// - Parameter manager: Location manager
137137
public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
138138
NotificationCenter.default.post(name: Permission.authorizationStatus, object: manager.authorizationStatus)

Sources/d3-async-location/Permission.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import SwiftUI
1313
@available(iOS 15.0, watchOS 7.0, *)
1414
final class Permission{
1515

16+
/// Name of notification for event location manager changed authorization status
1617
static let authorizationStatus = Notification.Name("authorizationStatus")
1718

1819
// MARK: - Private properties

0 commit comments

Comments
 (0)