Remove end-session confirmation dialog

This commit is contained in:
Tretzi
2026-04-09 20:40:46 -05:00
parent f10df4813f
commit 38c9291db4
3 changed files with 3 additions and 68 deletions

View File

@@ -11,10 +11,3 @@ fun sessionProgressFraction(durationSec: Int, remainingSec: Int): Float {
val elapsed = (total - remainingSec).coerceIn(0, total)
return elapsed.toFloat() / total.toFloat()
}
fun shouldRequireStopConfirmation(runtimeState: RuntimeState): Boolean {
return runtimeState == RuntimeState.COUNTDOWN ||
runtimeState == RuntimeState.RUNNING ||
runtimeState == RuntimeState.PAUSED ||
runtimeState == RuntimeState.INTERRUPTED
}