mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
The toggle's behaviour was untested: deleting the Modifier.keepScreenOn(), hard-coding the row's request or emptying the Switch handler all left the suite green, so none of the three new code paths were actually pinned. - NowPlayingKeepScreenOnTest renders Now Playing and asserts a view in the activity tree holds the screen on while the flag is set and releases it once the flag clears. - SettingsScreenTest now covers off->on and on->off on the row, and the Switch itself, instead of only the off->on row click. - Remember the keep-screen-on flow so NowPlayingRoute stops tearing down and rebuilding its DataStore collector on every position tick.