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 {
5050 self . desiredAccuracy = desiredAccuracy
5151 }
5252
53- public func checkingPermissions ( ) -> CLAuthorizationStatus {
53+ public func getAuthorizationStatus ( ) -> CLAuthorizationStatus {
5454 if #available( iOS 14 , * ) {
5555 return locationManager. authorizationStatus
5656 } else {
@@ -68,7 +68,7 @@ public final class AsyncLocationManager {
6868 proxyDelegate. cancel ( for: authorizationPerformer. uniqueIdentifier)
6969 } operation: {
7070 await withCheckedContinuation { continuation in
71- let authorizationStatus = checkingPermissions ( )
71+ let authorizationStatus = getAuthorizationStatus ( )
7272 if authorizationStatus != . notDetermined {
7373 continuation. resume ( with: . success( authorizationStatus) )
7474 } else {
You can’t perform that action at this time.
0 commit comments