NEW: MIh Alerts
This commit is contained in:
parent
b69a52a5a8
commit
00cd5488e3
66 changed files with 3188 additions and 5130 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ class _TipCalcState extends State<TipCalc> {
|
|||
if (_formKey.currentState!.validate()) {
|
||||
validateInput();
|
||||
} else {
|
||||
MihAlertServices().inputErrorMessage(context);
|
||||
MihAlertServices().inputErrorAlert(context);
|
||||
}
|
||||
},
|
||||
buttonColor: MihColors.getGreenColor(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue