MindMachine: add immersive fullscreen and tap-to-reveal bars

This commit is contained in:
Tretzi
2026-03-10 23:51:55 -05:00
parent fecd29ac3d
commit a4d81f41b0
3 changed files with 89 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
package com.mindmachine.mvp.session
import com.mindmachine.mvp.domain.RuntimeState
fun shouldUseImmersiveFullscreen(isVisualMode: Boolean, runtimeState: RuntimeState): Boolean {
return isVisualMode && (runtimeState == RuntimeState.COUNTDOWN || runtimeState == RuntimeState.RUNNING)
}
fun shouldRevealSystemBarsOnTap(isVisualMode: Boolean, runtimeState: RuntimeState): Boolean {
return shouldUseImmersiveFullscreen(isVisualMode, runtimeState)
}