change alert message
This commit is contained in:
@@ -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(() {
|
||||
|
Reference in New Issue
Block a user