Fix add 1 minute not adding immediately

This commit is contained in:
Brandon Presley 2024-02-21 14:51:35 +13:00
parent 6ad7091503
commit 164d946b90
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ class TimerService : Service() {
override fun onReceive(context: Context?, intent: Intent?) {
secondsLeft += 60;
secondsTotal += 60;
updateNotification(secondsLeft)
mediaPlayer?.stop()
vibrator?.cancel()
}