mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
Update main.dart
This commit is contained in:
@@ -57,7 +57,10 @@ class QlAppState extends ConsumerState<QlApp> {
|
||||
child: MediaQuery(
|
||||
data: MediaQueryData.fromWindow(WidgetsBinding.instance!.window).copyWith(textScaleFactor: 1,),
|
||||
child: MaterialApp(
|
||||
locale: const Locale('zh', 'cn'),
|
||||
locale: const Locale('zh', 'CN'),
|
||||
supportedLocales: const [
|
||||
Locale('zh', 'CN'),
|
||||
],
|
||||
navigatorKey: navigatorState,
|
||||
theme: ref.watch<ThemeViewModel>(themeProvider).currentTheme,
|
||||
onGenerateRoute: (setting) {
|
||||
|
||||
Reference in New Issue
Block a user