firstios
This commit is contained in:
@@ -8,7 +8,7 @@ import 'constant/box_name.dart';
|
||||
import 'controller/local/local_controller.dart';
|
||||
import 'controller/local/translations.dart';
|
||||
import 'firebase_options.dart';
|
||||
import 'views/home/auth/login_page.dart';
|
||||
import 'views/home/map_page.dart';
|
||||
|
||||
final box = GetStorage();
|
||||
void main() async {
|
||||
@@ -30,7 +30,7 @@ class MyApp extends StatelessWidget {
|
||||
LocaleController controller = Get.put(LocaleController());
|
||||
|
||||
return GetMaterialApp(
|
||||
title: 'Fleek-tech',
|
||||
title: 'Ride',
|
||||
translations: MyTranslation(),
|
||||
debugShowCheckedModeBanner: false,
|
||||
locale: controller.language,
|
||||
@@ -40,6 +40,6 @@ class MyApp extends StatelessWidget {
|
||||
home: box.read(BoxName.lang).toString() != 'ar' &&
|
||||
box.read(BoxName.lang).toString() != 'en'
|
||||
? const Language()
|
||||
: LoginPage());
|
||||
: const MapPage());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user