forked from GitHub-Mirror/riotX-android
Crypto: fix a small issue
This commit is contained in:
@ -87,7 +87,7 @@ class KeysBackupRestoreFromKeyFragment : VectorBaseFragment() {
|
||||
if (value.isNullOrBlank()) {
|
||||
viewModel.recoveryCodeErrorText.value = context?.getString(R.string.keys_backup_recovery_code_empty_error_message)
|
||||
} else {
|
||||
viewModel.recoverKeys(context!!, sharedViewModel)
|
||||
viewModel.recoverKeys(requireContext(), sharedViewModel)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user