diff --git a/lib/ui/theme/dynamic_theme_builder.dart b/lib/ui/theme/dynamic_theme_builder.dart index 5fcd8831ae..233c78b562 100644 --- a/lib/ui/theme/dynamic_theme_builder.dart +++ b/lib/ui/theme/dynamic_theme_builder.dart @@ -90,7 +90,7 @@ class _DynamicThemeBuilderState extends State with WidgetsB 4: darkCustomTheme, 5: darkDynamicTheme, }, - fallbackTheme: brightness == Brightness.light ? lightCustomTheme : darkCustomTheme, + fallbackTheme: PlatformDispatcher.instance.platformBrightness == Brightness.light ? lightCustomTheme : darkCustomTheme, ), builder: (context, theme) => MaterialApp( debugShowCheckedModeBanner: false,