KeyPass icon indicating copy to clipboard operation
KeyPass copied to clipboard

TextField resets on orientation change

Open nicolarevelant opened this issue 1 year ago • 1 comments

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

  1. Enter the password
  2. Rotate the device twice

or (if it's the first time):

  1. Create new password
  2. Rotate the device twice

Possible solution:

/app/src/main/java/com/yogeshpaliyal/keypass/ui/auth/AuthScreen.kt:41 use rememberSaveable instead of remember

Screenshots:

Version:

1.4.29 (1429) - not fixed in 1.4.30

nicolarevelant avatar Sep 25 '24 07:09 nicolarevelant

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

yogeshpaliyal avatar Sep 25 '24 14:09 yogeshpaliyal

Hey @yogeshpaliyal i want to work on this issue

aritra-tech avatar Feb 01 '25 20:02 aritra-tech

Sure @aritra-tech , Assigning this to you.

yogeshpaliyal avatar Feb 02 '25 01:02 yogeshpaliyal

Created a PR for this issue @yogeshpaliyal https://github.com/yogeshpaliyal/KeyPass/pull/1074

aritra-tech avatar Feb 02 '25 12:02 aritra-tech

Thank you @aritra-tech for your valuable contribution. ♥️

yogeshpaliyal avatar Feb 03 '25 14:02 yogeshpaliyal