Skip to content

Commit

Permalink
Fix location permission method lagging the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoncal committed Feb 5, 2025
1 parent d951830 commit a25de2f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/App/Utilities/Permissions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ public enum PermissionType {
let locationManager = CLLocationManager()
switch self {
case .location:
guard CLLocationManager.locationServicesEnabled() else { return .restricted }
return locationManager.authorizationStatus.genericStatus
case .motion:
return CMMotionActivityManager.authorizationStatus().genericStatus
Expand Down

0 comments on commit a25de2f

Please # to comment.