Skip to content

Commit

Permalink
Fixed bug where 'haveCoreMotionPermission' returns true despite Core …
Browse files Browse the repository at this point in the history
…Motion permissions being denied.
  • Loading branch information
Tom Daniel committed Jun 5, 2019
1 parent 949e121 commit 582b928
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion LocoKit/Base/LocomotionManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,6 @@ import LocoKitCore
os_log("error: %@", String(describing: error))

} else if let motion = motion {
self.coreMotionPermission = true
ActivityBrain.highlander.add(deviceMotion: motion)
}
}
Expand Down

0 comments on commit 582b928

Please sign in to comment.