remove error message pop up

This commit is contained in:
2025-02-03 13:35:19 +02:00
parent f0bc096738
commit 8af6d5282a

View File

@@ -107,27 +107,28 @@ class _BiometricCheckState extends State<BiometricCheck> {
},
);
}
} else {
showDialog(
context: context,
builder: (context) {
return MihAppAlert(
alertIcon: Icon(
Icons.warning,
color: MzanziInnovationHub.of(context)!.theme.errorColor(),
),
alertTitle: "Biometric Error",
alertBody: Text(
"Auth not allowed",
style: TextStyle(
color: MzanziInnovationHub.of(context)!.theme.errorColor(),
),
),
alertColour: MzanziInnovationHub.of(context)!.theme.errorColor(),
);
},
);
}
// else {
// showDialog(
// context: context,
// builder: (context) {
// return MihAppAlert(
// alertIcon: Icon(
// Icons.warning,
// color: MzanziInnovationHub.of(context)!.theme.errorColor(),
// ),
// alertTitle: "Biometric Error",
// alertBody: Text(
// "Auth not allowed",
// style: TextStyle(
// color: MzanziInnovationHub.of(context)!.theme.errorColor(),
// ),
// ),
// alertColour: MzanziInnovationHub.of(context)!.theme.errorColor(),
// );
// },
// );
// }
}
MIHBody getBody() {