Skip to content

Commit 1285ebd

Browse files
committed
Delay a bit the start of the timer
1 parent e8dcb20 commit 1285ebd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/net/opatry/countdowntimer/CounterViewModel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ class CounterViewModel(private val mainDispatcher: CoroutineDispatcher = Dispatc
107107
}
108108
}.also {
109109
_state.value = TimerState(timer.duration, timer)
110+
delay(300)
110111
it.start()
111112
}
112113
}

0 commit comments

Comments
 (0)