change alert message

This commit is contained in:
2024-12-30 22:34:17 +01:00
parent 938b677b6e
commit 43d77f778b
7 changed files with 55 additions and 45 deletions

View File

@@ -67,7 +67,7 @@ class ItemMenu extends StatefulWidget {
State<ItemMenu> createState() => _ItemMenuState();
}
class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
class _ItemMenuState extends State<ItemMenu> with ShowAlertDialog {
String listUser = "";
String eventName = "";
String eventStartDate = "";
@@ -169,10 +169,10 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
}
break;
}
showErrorDialog(context, text);
showAlertDialog(context, "Erreur serveur", text);
}
} else {
showErrorDialog(context, "Cache invalide");
showAlertDialog(context, "Erreur serveur", "Cache invalide");
}
setState(() {