Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextField and CheckBox reset on uiMode change #1098

Open
nicolarevelant opened this issue Sep 25, 2024 · 1 comment
Open

TextField and CheckBox reset on uiMode change #1098

nicolarevelant opened this issue Sep 25, 2024 · 1 comment

Comments

@nicolarevelant
Copy link

nicolarevelant commented Sep 25, 2024

Problem: when I perform this sequence of events the TextField and the CheckBox reset:

  1. From login screen, type something
  2. Toggle password visibility
  3. Touch the checkbox
  4. Switch between light and dark mode twice

Possible solution:

app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedOff/LoginScreen.kt:133-149 use rememberSaveable instead of remember

Screenshots:

Version:

0.88.4 (381) - not fixed in 0.91.0

@nicolarevelant nicolarevelant changed the title TextField resets on uiMode change TextField and CheckBox reset on uiMode change Sep 25, 2024
@davotoula
Copy link
Contributor

Quality bug reports 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants