File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public final class AsyncLocationManager {
50
50
self . desiredAccuracy = desiredAccuracy
51
51
}
52
52
53
- public func checkingPermissions ( ) -> CLAuthorizationStatus {
53
+ public func getAuthorizationStatus ( ) -> CLAuthorizationStatus {
54
54
if #available( iOS 14 , * ) {
55
55
return locationManager. authorizationStatus
56
56
} else {
@@ -68,7 +68,7 @@ public final class AsyncLocationManager {
68
68
proxyDelegate. cancel ( for: authorizationPerformer. uniqueIdentifier)
69
69
} operation: {
70
70
await withCheckedContinuation { continuation in
71
- let authorizationStatus = checkingPermissions ( )
71
+ let authorizationStatus = getAuthorizationStatus ( )
72
72
if authorizationStatus != . notDetermined {
73
73
continuation. resume ( with: . success( authorizationStatus) )
74
74
} else {
You can’t perform that action at this time.
0 commit comments