Skip to content

Commit

Permalink
Problème de copie du code de récupération après génération
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Buquet committed Jul 26, 2023
1 parent 5bc3c48 commit ca9b12a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/953.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Probl�me de copie du code de r�cup�ration apr�s g�n�ration
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ class BootstrapSaveRecoveryKeyFragment :
}

private val copyStartForActivityResult = registerStartForActivityResult { activityResult ->
if (activityResult.resultCode == Activity.RESULT_OK) {
// Tchap : accept to close sheet even if result is RESULT_CANCELED. The Recovery code is in the clipboard.
if (activityResult.resultCode == Activity.RESULT_OK || activityResult.resultCode == Activity.RESULT_CANCELED) {
// Tchap : Close the dialog without having to tap "Continue"
sharedViewModel.handle(BootstrapActions.Completed)
}
Expand Down

0 comments on commit ca9b12a

Please sign in to comment.