diff --git a/lib/classes/utils.dart b/lib/classes/utils.dart index bef8218..56e5802 100644 --- a/lib/classes/utils.dart +++ b/lib/classes/utils.dart @@ -11,7 +11,7 @@ class Utils { static void showToast(String message) { Fluttertoast.showToast( - msg: message, toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.BOTTOM, timeInSecForIosWeb: 1, backgroundColor: Colors.black54, textColor: Colors.white, fontSize: 16.0); + msg: message, toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.BOTTOM, timeInSecForIosWeb: 2, backgroundColor: Colors.black54, textColor: Colors.white, fontSize: 16.0); } static dynamic getNotNullValue(List list, int index) { diff --git a/lib/pages/user/register_page.dart b/lib/pages/user/register_page.dart index f20f2f9..6e4d968 100644 --- a/lib/pages/user/register_page.dart +++ b/lib/pages/user/register_page.dart @@ -46,7 +46,7 @@ class RegisterPage extends StatelessWidget { }); return DropdownField((DropValue value) { role = value.id; - }, list: dropList, hint: "Chosse Role"); + }, list: dropList, hint: "Select Role"); } else { return CircularProgressIndicator(); } @@ -64,7 +64,7 @@ class RegisterPage extends StatelessWidget { return DropdownField((DropValue value) { countryCode = value.subValue; countryId = value.id; - }, list: dropList, hint: "Chosse Country"); + }, list: dropList, hint: "Select Country"); } else { return CircularProgressIndicator(); }