Skip to content

Commit

Permalink
Fix lag on pedometer tool open
Browse files Browse the repository at this point in the history
Closes #1880
  • Loading branch information
kylecorry31 committed Sep 2, 2023
1 parent 9b04f26 commit a871cf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class FragmentToolPedometer : BoundFragment<FragmentToolPedometerBinding>() {
pedometer.state.replay().asLiveData().observe(viewLifecycleOwner) { updateStatusBar() }

// TODO: Use pedometer subsystem topics
scheduleUpdates(INTERVAL_30_FPS)
scheduleUpdates(500L)
}

override fun onUpdate() {
Expand Down

0 comments on commit a871cf2

Please sign in to comment.