Files
mobile/lib
Goutham Krishna Mandati 6c5b5b702c Fix zen mode toggle not persisting across games (#3233)
* Fix zen mode toggle not persisting across games
When account zen mode preference is 'In Game Only' (Zen.gameAuto),
toggling zen mode off during a game would reset on the next game
because the toggle was stored as an ephemeral field (zenModeGameSetting)
that was discarded when the GameController was recreated.
Now toggleZenMode() syncs to the server via accountPreferencesProvider.setZen(),
making the server the single source of truth. The zenModeGameSetting field
has been removed from GameState.
Closes #3226

* Address review: move tests to game_screen_test.dart, restore original zen pref on toggle
2026-05-26 11:41:59 +02:00
..
2026-05-06 11:27:46 +02:00
2026-03-23 11:29:15 +01:00