fix: Fix a bug that caused notification progress to not update correctly
On Android 15 and lower
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user