mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Adapt error message check in backup errors (#550)
This commit is contained in:
@@ -64,7 +64,7 @@ abstract class RestoreFromBackupViewModelBase with Store {
|
||||
} catch (e) {
|
||||
var msg = e.toString();
|
||||
|
||||
if (msg == 'Message authentication code (MAC) is invalid') {
|
||||
if (msg.toLowerCase().contains("message authentication code (mac)")) {
|
||||
msg = 'Incorrect backup password';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user