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

App resets on orientation change #992

Open
nicolarevelant opened this issue Sep 25, 2024 · 2 comments
Open

App resets on orientation change #992

nicolarevelant opened this issue Sep 25, 2024 · 2 comments

Comments

@nicolarevelant
Copy link

nicolarevelant commented Sep 25, 2024

Problem: when I perform this sequence of events the app resets:

  1. Enter the password
  2. Touch confirm button
  3. Rotate the device twice

or (if it's the first time):

  1. Create new password
  2. Touch confirm button
  3. Re-enter your password
  4. Touch confirm button
  5. Rotate the device twice

Possible solution:

This problem could be due to the "org.reduxkotlin:redux-kotlin-compose-jvm" library because it uses remember instead of rememberSaveable to store the app state (e.g. KeyPassBottomBar.kt:27), remember() does not store data using the saved instance state mechanism, so please consider not using that library and use the official navigation library and rememberSaveable for app state.

Screenshots:

Version:

1.4.29 (1429) - not fixed in 1.4.30

Copy link

Thanks for submitting your first issue, We appreciate your input and will review it soon.

@yogeshpaliyal
Copy link
Owner

Thank you for raising this issue, would you like to work on this issue?

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