Skip to content

Show the new code right after an authenticator is added - #461

Merged
PianoNic merged 2 commits into
mainfrom
fix/459_ShowCodeAfterAdding
Aug 12, 2026
Merged

Show the new code right after an authenticator is added#461
PianoNic merged 2 commits into
mainfrom
fix/459_ShowCodeAfterAdding

Conversation

@PianoNic

Copy link
Copy Markdown
Member

After a scan the app saved the entry and popped two screens at once, so the code needed to confirm the new device was never on screen. From the Authenticator list the new entry also landed at the bottom, because TotpVault.add appended - you were scrolling to find it inside a 30-second window. From the connect-form picker no code was shown at all.

A sheet now appears the moment an entry is saved, showing its live code with the countdown and a copy action, and new entries go to the top of the vault.

Not yet verified on a device: the backend stack was torn down, so the app cannot get past its loading screen to reach the Authenticator. The analyzer is clean and the release APK builds, but the sheet has not been seen rendering. Worth a look before this ships.

Closes #459

Whoever issued the QR code asks for a code straight away to confirm the device,
so present the first one in a sheet before the add screen closes, and put new
entries at the top of the vault instead of the bottom.
@PianoNic PianoNic added the bug Something isn't working label Aug 12, 2026
@PianoNic
PianoNic merged commit 52125b7 into main Aug 12, 2026
@PianoNic
PianoNic deleted the fix/459_ShowCodeAfterAdding branch August 12, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

After scanning a QR code the new authenticator's code is never shown

1 participant