mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-28 04:55:57 +03:00
Fix crash when entering wrong passphrase
This commit is contained in:
parent
0a8c954397
commit
dc7b3dfc9d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class KeysBackupRestoreFromPassphraseViewModel @Inject constructor(
|
|||
try {
|
||||
sharedViewModel.recoverUsingBackupPass(passphrase.value!!)
|
||||
} catch (failure: Throwable) {
|
||||
passphraseErrorText.value = stringProvider.getString(R.string.keys_backup_passphrase_error_decrypt)
|
||||
passphraseErrorText.postValue(stringProvider.getString(R.string.keys_backup_passphrase_error_decrypt))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue