forked from Nexus/nexus
bump deps, remove hack for fallback theme that is no longer needed
This commit is contained in:
parent
85b9007c47
commit
07f8a35b74
3 changed files with 101 additions and 96 deletions
|
|
@ -112,7 +112,7 @@ class App extends StatelessWidget {
|
|||
data: (settings) =>
|
||||
settings.useDynamicTheming ? lightDynamic : null,
|
||||
) ??
|
||||
ColorScheme.fromSeed(seedColor: Colors.indigo))
|
||||
ThemeData.light().colorScheme)
|
||||
.theme,
|
||||
darkTheme:
|
||||
(ref
|
||||
|
|
@ -122,10 +122,7 @@ class App extends StatelessWidget {
|
|||
data: (settings) =>
|
||||
settings.useDynamicTheming ? darkDynamic : null,
|
||||
) ??
|
||||
ColorScheme.fromSeed(
|
||||
seedColor: Colors.indigo,
|
||||
brightness: Brightness.dark,
|
||||
))
|
||||
ThemeData.dark().colorScheme)
|
||||
.theme,
|
||||
themeMode: ref
|
||||
.watch(SettingsController.provider)
|
||||
|
|
|
|||
Loading…
Reference in a new issue