Go directly to the enter recovery key screen when coming from the banner which ask the user to do so.

This commit is contained in:
Benoit Marty 2024-02-21 09:43:24 +01:00 committed by Benoit Marty
parent a495548ada
commit 99b8efbeff
5 changed files with 16 additions and 1 deletions

View file

@ -255,6 +255,10 @@ class LoggedInFlowNode @AssistedInject constructor(
backstack.push(NavTarget.VerifySession)
}
override fun onSessionConfirmRecoveryKeyClicked() {
backstack.push(NavTarget.SecureBackup(initialElement = SecureBackupEntryPoint.InitialTarget.EnterRecoveryKey))
}
override fun onInvitesClicked() {
backstack.push(NavTarget.InviteList)
}