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