mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 08:47:33 +00:00
Toggling the system dark/light theme recreates MainActivity (uiMode is not in configChanges), and the login/signup page choice was held in a plain remember, so the UI reset from Sign-Up back to Login. Switch it to rememberSaveable so the choice survives recreation. Same fix for the password-visibility toggle in LoginScreen. https://github.com/vitorpamplona/amethyst/issues/1097 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J74bRJ9H1KFx4vTo9wpez3