Adapt error message check in backup errors (#550)

This commit is contained in:
Omar Hatem
2022-10-20 12:37:02 -04:00
committed by GitHub
parent 3a9c8be9ca
commit d4b5ffd0d6
@@ -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';
}