Skip to content

Commit 7cb7f48

Browse files
committed
Variable name change.
Variable name change.
1 parent e0e6a21 commit 7cb7f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Prey/Classes/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
673673

674674
func permissionLocationChanged(_ authorizationStatus: CLAuthorizationStatus) {
675675
var locationAccessOld=PreyConfig.sharedInstance.locationAccess
676-
var locationAccessNew = Location.getLocationStatusString(status)
676+
var locationAccessNew = Location.getLocationStatusString(authorizationStatus)
677677
PreyConfig.sharedInstance.locationAccess=locationAccessNew
678678
if (locationAccessOld==nil){
679679
locationAccessOld = LocationAccess.UNKNOWN.rawValue

0 commit comments

Comments
 (0)