Skip to content

Fix AuthActivity back button bug during key recovery - #38

Merged
zHd4 merged 5 commits into
masterfrom
fix-auth-activity-back-button-bug-during-key-recovery
Aug 4, 2026
Merged

Fix AuthActivity back button bug during key recovery#38
zHd4 merged 5 commits into
masterfrom
fix-auth-activity-back-button-bug-during-key-recovery

Conversation

@zHd4

@zHd4 zHd4 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Resolves a crash in AuthActivity caused by interrupting the key recovery flow.

Problem

If a user enters an invalid password 3 times, submits a valid key, types a new password, but presses Back on the "Repeat New Password" screen, AuthActivity enters an invalid state. Subsequent attempts to enter the access code result in a RuntimeException.

Solution

  • Added a finish() call to AuthActivity when the app locks after the final failed attempt.
  • Refactored KeyRecoveryActivity to improve the key application logic.

@zHd4 zHd4 self-assigned this Aug 4, 2026
@zHd4
zHd4 merged commit d2434ca into master Aug 4, 2026
4 checks passed
@zHd4
zHd4 deleted the fix-auth-activity-back-button-bug-during-key-recovery branch August 4, 2026 10:03
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

Successfully merging this pull request may close these issues.

1 participant