new backend 29-04-2026
This commit is contained in:
@@ -523,7 +523,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
||||
Widget build(BuildContext context) {
|
||||
final LocaleController localController = Get.put(LocaleController());
|
||||
final SettingController settingController = Get.put(SettingController());
|
||||
|
||||
|
||||
return GetMaterialApp(
|
||||
navigatorKey: navigatorKey,
|
||||
title: AppInformation.appName,
|
||||
@@ -532,8 +532,8 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
||||
locale: localController.language,
|
||||
theme: localController.lightTheme,
|
||||
darkTheme: localController.darkTheme,
|
||||
themeMode: settingController.isDarkMode ? ThemeMode.dark : ThemeMode.light,
|
||||
|
||||
themeMode:
|
||||
settingController.isDarkMode ? ThemeMode.dark : ThemeMode.light,
|
||||
initialRoute: '/',
|
||||
getPages: [
|
||||
GetPage(name: '/', page: () => SplashScreen()),
|
||||
@@ -545,4 +545,3 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user