Automatic light vs dark theme

This commit is contained in:
Hillel Coren 2023-05-07 18:29:26 +03:00
parent b00bcfc652
commit 33a59ee0fb
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ abstract class PrefState implements Built<PrefState, PrefStateBuilder> {
..enableTooltips = true ..enableTooltips = true
..enableNativeBrowser = false ..enableNativeBrowser = false
..textScaleFactor = 1 ..textScaleFactor = 1
..darkModeType = kBrightnessSytem
..colorTheme = kColorThemeLight ..colorTheme = kColorThemeLight
..darkColorTheme = kColorThemeDark; ..darkColorTheme = kColorThemeDark;