This commit is contained in:
Hamza-Ayed
2023-08-15 23:55:41 +03:00
parent 65ade9c874
commit 9b3716aabd
19 changed files with 466 additions and 189 deletions

View File

@@ -29,7 +29,7 @@ class Language extends GetView<LocaleController> {
onPressed: () {
controller.changeLang("ar");
// main();
box.read(BoxName.email).toString() != ''
box.read(BoxName.email) != null
? Get.offAll(() => const MapPage())
: Get.offAll(() => LoginPage());
},
@@ -38,7 +38,7 @@ class Language extends GetView<LocaleController> {
title: "En",
onPressed: () {
controller.changeLang("en");
box.read(BoxName.email).toString() != ''
box.read(BoxName.email) != null
? Get.offAll(() => const MapPage())
: Get.offAll(() => LoginPage());
},