8-15/3
This commit is contained in:
@@ -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());
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user