Fix _Namespace not defined

This commit is contained in:
2024-02-03 11:19:19 +08:00
parent 4b1e4dfddc
commit 4d7bcb1226
7 changed files with 36 additions and 22 deletions

View File

@@ -246,7 +246,7 @@ class _MainApp extends State<MainApp> {
} catch (e) {
_log.warning("Failed to read lang from prefs:", e);
}
if (kIsWeb || isWindows) {
if (isWindows) {
_themeData = _themeData.useSystemChineseFont();
_darkThemeData = _darkThemeData.useSystemChineseFont();
}