change theme mode into light
This commit is contained in:
1 parent
833bfd98f0
commit
5f60defa21
1 file changed
+3
-3
@@ -43,12 +43,12 @@ class ThemeModeNotifier extends Notifier<ThemeMode> {
|
||||
|
||||
static ThemeMode _fromString(String value) {
|
||||
switch (value) {
|
||||
case 'light':
|
||||
return ThemeMode.light;
|
||||
case 'system':
|
||||
return ThemeMode.system;
|
||||
case 'dark':
|
||||
return ThemeMode.dark;
|
||||
default:
|
||||
return ThemeMode.system;
|
||||
return ThemeMode.light;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user