UX: seconds flash interval UI, hidden active controls, back-to-setup flow

This commit is contained in:
Tretzi
2026-03-10 23:34:07 -05:00
parent bb5d77fea3
commit e5117d2346
7 changed files with 91 additions and 12 deletions

View File

@@ -0,0 +1,9 @@
package com.mindmachine.mvp.session
import kotlin.math.roundToInt
private const val MILLIS_PER_SECOND = 1000f
fun flashIntervalMsToSeconds(ms: Int): Float = ms / MILLIS_PER_SECOND
fun flashIntervalSecondsToMs(seconds: Float): Int = (seconds * MILLIS_PER_SECOND).roundToInt()