Skip to content

Commit 582b928

Browse files
author
Tom Daniel
committed
Fixed bug where 'haveCoreMotionPermission' returns true despite Core Motion permissions being denied.
1 parent 949e121 commit 582b928

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

LocoKit/Base/LocomotionManager.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,6 @@ import LocoKitCore
762762
os_log("error: %@", String(describing: error))
763763

764764
} else if let motion = motion {
765-
self.coreMotionPermission = true
766765
ActivityBrain.highlander.add(deviceMotion: motion)
767766
}
768767
}

0 commit comments

Comments
 (0)