mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 02:24:30 +00:00
quick fix
This commit is contained in:
parent
891f15cd58
commit
bf4c44ad1b
1 changed files with 4 additions and 6 deletions
|
@ -395,12 +395,10 @@ class _MaterialAppWithThemeState extends ConsumerState<MaterialAppWithTheme>
|
||||||
}
|
}
|
||||||
|
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
print("=============================================================");
|
if (ref.read(prefsChangeNotifierProvider).enableSystemBrightness) {
|
||||||
print("colorTheme: $colorTheme");
|
ref.read(colorThemeProvider.notifier).state =
|
||||||
print("=============================================================");
|
StackColors.fromStackColorTheme(colorTheme);
|
||||||
|
}
|
||||||
ref.read(colorThemeProvider.notifier).state =
|
|
||||||
StackColors.fromStackColorTheme(colorTheme);
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue