From c7d5f764d003e41f9e37a39fb6284539570835de Mon Sep 17 00:00:00 2001 From: Lockie Richter Date: Sun, 17 Mar 2024 21:03:22 +1030 Subject: [PATCH] Fix broken theming in Dark mode --- lib/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 90f3314..c227eb7 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -82,13 +82,13 @@ class DanteXApp extends ConsumerWidget { theme: ThemeData( colorSchemeSeed: Colors.white, brightness: Brightness.light, - textTheme: GoogleFonts.nunitoTextTheme(), + fontFamily: GoogleFonts.nunito().fontFamily, useMaterial3: true, ), darkTheme: ThemeData( colorSchemeSeed: Colors.white, brightness: Brightness.dark, - textTheme: GoogleFonts.nunitoTextTheme(), + fontFamily: GoogleFonts.nunito().fontFamily, useMaterial3: true, ), );