Skip to content

Commit 3ea473a

Browse files
committed
fix font
1 parent 52766ea commit 3ea473a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/main.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
205205
theme: ThemeData(
206206
brightness: Brightness.light,
207207
useMaterial3: true,
208+
fontFamily: (Platform.isAndroid) ? 'Roboto' : null,
208209
primaryColor: lightColorScheme.primary,
209210
colorScheme: lightColorScheme,
210211
scaffoldBackgroundColor: lightColorScheme.surface,
@@ -226,6 +227,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver {
226227
darkTheme: ThemeData(
227228
brightness: Brightness.dark,
228229
useMaterial3: true,
230+
fontFamily: (Platform.isAndroid) ? 'Roboto' : null,
229231
scaffoldBackgroundColor: userSetting.isAMOLED
230232
? Colors.black
231233
: null,

0 commit comments

Comments
 (0)