Skip to content

Commit

Permalink
change default theme to light
Browse files Browse the repository at this point in the history
  • Loading branch information
LiquidatorCoder committed Apr 18, 2021
1 parent 0f1594d commit 1fb64f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/main.dart
Expand Up @@ -89,7 +89,7 @@ class _MyAppState extends State<MyApp> {
theme: CupertinoThemeData(),
home: NeumorphicTheme(
usedTheme:
prefs.get('theme') == 0 ?? 1 ? UsedTheme.LIGHT : UsedTheme.DARK,
prefs.get('theme') == 0 ?? 0 ? UsedTheme.LIGHT : UsedTheme.DARK,
theme: NeumorphicThemeData(
baseColor: Color(0xFFDDDDDD),
accentColor: Color(0x00CCCCCC),
Expand All @@ -100,7 +100,7 @@ class _MyAppState extends State<MyApp> {
lightSource: LightSource.topLeft,
depth: 8,
),
darkTheme: prefs.get('theme') == 1 ?? 1
darkTheme: prefs.get('theme') == 1 ?? 0
? NeumorphicThemeData(
baseColor: Color(0xFF222222),
accentColor: Color(0x00111111),
Expand Down

0 comments on commit 1fb64f4

Please sign in to comment.