mirror of
https://github.com/SimpleMobileTools/Simple-Voice-Recorder.git
synced 2025-06-05 21:59:31 +02:00
changing the player progress timers delay to 0
This commit is contained in:
@ -221,7 +221,7 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager
|
||||
private fun setupProgressTimer() {
|
||||
progressTimer.cancel()
|
||||
progressTimer = Timer()
|
||||
progressTimer.scheduleAtFixedRate(getProgressUpdateTask(), 0, 1000)
|
||||
progressTimer.scheduleAtFixedRate(getProgressUpdateTask(), 1000, 1000)
|
||||
}
|
||||
|
||||
private fun getProgressUpdateTask() = object : TimerTask() {
|
||||
|
Reference in New Issue
Block a user