fix: Fix a bug that caused notification progress to not update correctly

On Android 15 and lower
This commit is contained in:
Nishant Mishra
2025-09-29 09:58:36 +05:30
parent 666da9d2d2
commit 20a414e0d8

View File

@@ -278,6 +278,7 @@ class TimerService : Service() {
}
private fun resetTimer() {
updateProgressSegments()
skipScope.launch {
saveTimeToDb()
time = timerRepository.focusTime
@@ -301,6 +302,7 @@ class TimerService : Service() {
}
private fun skipTimer(fromButton: Boolean = false) {
updateProgressSegments()
skipScope.launch {
saveTimeToDb()
updateProgressSegments()