diff --git a/lib/view_model/restore_from_backup_view_model.dart b/lib/view_model/restore_from_backup_view_model.dart index 41bbd5b0a..d3542a668 100644 --- a/lib/view_model/restore_from_backup_view_model.dart +++ b/lib/view_model/restore_from_backup_view_model.dart @@ -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'; }