mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: default theme not following system (#1288)
This commit is contained in:
parent
1b6d72661c
commit
6f4866ef63
@ -90,7 +90,7 @@ class _DynamicThemeBuilderState extends State<DynamicThemeBuilder> with WidgetsB
|
|||||||
4: darkCustomTheme,
|
4: darkCustomTheme,
|
||||||
5: darkDynamicTheme,
|
5: darkDynamicTheme,
|
||||||
},
|
},
|
||||||
fallbackTheme: brightness == Brightness.light ? lightCustomTheme : darkCustomTheme,
|
fallbackTheme: PlatformDispatcher.instance.platformBrightness == Brightness.light ? lightCustomTheme : darkCustomTheme,
|
||||||
),
|
),
|
||||||
builder: (context, theme) => MaterialApp(
|
builder: (context, theme) => MaterialApp(
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user