Fix add 1 minute not adding immediately
This commit is contained in:
parent
6ad7091503
commit
164d946b90
|
@ -46,6 +46,7 @@ class TimerService : Service() {
|
|||
override fun onReceive(context: Context?, intent: Intent?) {
|
||||
secondsLeft += 60;
|
||||
secondsTotal += 60;
|
||||
updateNotification(secondsLeft)
|
||||
mediaPlayer?.stop()
|
||||
vibrator?.cancel()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user