mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-01-16 15:19:33 +00:00
chore: update flutter and dependencies
This commit is contained in:
parent
06694f5f0b
commit
a520136e01
80 changed files with 7701 additions and 9141 deletions
|
|
@ -76,9 +76,9 @@ class MyApp extends ConsumerWidget {
|
|||
if (themeSettings.useMaterialThemeFromSystem) {
|
||||
var themes =
|
||||
ref.watch(systemThemeProvider(highContrast: shouldUseHighContrast));
|
||||
if (themes.valueOrNull != null) {
|
||||
lightColorScheme = themes.valueOrNull!.$1;
|
||||
darkColorScheme = themes.valueOrNull!.$2;
|
||||
if (themes.value != null) {
|
||||
lightColorScheme = themes.value!.$1;
|
||||
darkColorScheme = themes.value!.$2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -100,9 +100,9 @@ class MyApp extends ConsumerWidget {
|
|||
brightness: Brightness.dark,
|
||||
),
|
||||
);
|
||||
if (themeLight.valueOrNull != null && themeDark.valueOrNull != null) {
|
||||
lightColorScheme = themeLight.valueOrNull!;
|
||||
darkColorScheme = themeDark.valueOrNull!;
|
||||
if (themeLight.value != null && themeDark.value != null) {
|
||||
lightColorScheme = themeLight.value!;
|
||||
darkColorScheme = themeDark.value!;
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue