Don't show toolbar for recovery code when restoring
This restores original behavior and should make CI pass which otherwise can't see the last two words.
This commit is contained in:
parent
a538a64395
commit
0ed6d5c2c0
1 changed files with 6 additions and 2 deletions
|
@ -107,10 +107,14 @@ class RecoveryCodeInputFragment : Fragment() {
|
|||
super.onViewCreated(view, savedInstanceState)
|
||||
|
||||
view.requireViewById<Toolbar>(R.id.toolbar).apply {
|
||||
if (viewModel.isRestore) {
|
||||
visibility = GONE
|
||||
} else {
|
||||
setNavigationOnClickListener {
|
||||
requireActivity().onBackPressedDispatcher.onBackPressed()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (viewModel.isRestore) {
|
||||
introText.setText(R.string.recovery_code_input_intro)
|
||||
|
|
Loading…
Reference in a new issue