NEW: MIh Alerts

This commit is contained in:
2025-11-20 10:56:15 +02:00
parent b69a52a5a8
commit 00cd5488e3
66 changed files with 3188 additions and 5130 deletions

View File

@@ -169,6 +169,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
final String companyName = 'Mzansi Innovation Hub';
showDialog(
barrierDismissible: false,
context: context,
builder: (context) => MihPackageWindow(
fullscreen: false,
@@ -383,7 +384,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
FocusScope.of(context)
.requestFocus(FocusNode());
} else {
MihAlertServices().inputErrorMessage(context);
MihAlertServices().inputErrorAlert(context);
}
},
buttonColor: MihColors.getGreenColor(

View File

@@ -392,7 +392,7 @@ class _TipCalcState extends State<TipCalc> {
if (_formKey.currentState!.validate()) {
validateInput();
} else {
MihAlertServices().inputErrorMessage(context);
MihAlertServices().inputErrorAlert(context);
}
},
buttonColor: MihColors.getGreenColor(