Update main.dart

This commit is contained in:
jyuesong
2022-01-21 15:37:07 +08:00
parent 0d5a807afd
commit b390876bd5

View File

@@ -57,10 +57,8 @@ class QlAppState extends ConsumerState<QlApp> {
child: MediaQuery(
data: MediaQueryData.fromWindow(WidgetsBinding.instance!.window).copyWith(textScaleFactor: 1,),
child: MaterialApp(
title: "青龙",
locale: const Locale('zh', 'CN'),
supportedLocales: const [
Locale('zh', 'CN'),
],
navigatorKey: navigatorState,
theme: ref.watch<ThemeViewModel>(themeProvider).currentTheme,
onGenerateRoute: (setting) {