remove error message pop up
This commit is contained in:
parent
f0bc096738
commit
8af6d5282a
1 changed files with 21 additions and 20 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue