diff --git a/lib/main.dart b/lib/main.dart index 9bdc68c..174d28b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -48,6 +48,7 @@ class RenamerApp extends StatelessWidget { locale: _appLocale, debugShowCheckedModeBanner: false, theme: ThemeData( + fontFamily: Platform.isWindows ? "微软雅黑" : null, colorScheme: ColorScheme.fromSeed( brightness: Brightness.light, seedColor: const Color(0xff9cdce8), @@ -62,6 +63,7 @@ class RenamerApp extends StatelessWidget { ], ), darkTheme: ThemeData( + fontFamily: Platform.isWindows ? "微软雅黑" : null, colorScheme: ColorScheme.fromSeed( brightness: Brightness.dark, seedColor: const Color(0xff26546e),