mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
Adapt error message check in backup errors (#550)
This commit is contained in:
parent
3a9c8be9ca
commit
d4b5ffd0d6
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ abstract class RestoreFromBackupViewModelBase with Store {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
var msg = e.toString();
|
var msg = e.toString();
|
||||||
|
|
||||||
if (msg == 'Message authentication code (MAC) is invalid') {
|
if (msg.toLowerCase().contains("message authentication code (mac)")) {
|
||||||
msg = 'Incorrect backup password';
|
msg = 'Incorrect backup password';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue