Update navigation_screen.dart
This commit is contained in:
parent
7adec7dfa5
commit
67aea46c06
@ -171,7 +171,7 @@ class NavigationScreenState extends State<NavigationScreen>
|
|||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void PlatformBrightness() {
|
void didChangePlatformBrightness() {
|
||||||
if (settings.theme == ThemeMode.system) {
|
if (settings.theme == ThemeMode.system) {
|
||||||
Brightness? brightness = WidgetsBinding.instance.window.platformBrightness;
|
Brightness? brightness = WidgetsBinding.instance.window.platformBrightness;
|
||||||
Provider.of<ThemeModeObserver>(context, listen: false).changeTheme(
|
Provider.of<ThemeModeObserver>(context, listen: false).changeTheme(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user