aboutsummaryrefslogtreecommitdiff
path: root/lib/data
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-03 19:45:38 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-03 19:45:38 +0530
commit008f625c89e0bb930dbb4b92c502e3a273b27807 (patch)
tree26015d454303fd5db838dac5b4f63366f607ae03 /lib/data
parent871706b606c77eeac13bfcea67c3ce1d71203d2c (diff)
downloaddaft-launcher-008f625c89e0bb930dbb4b92c502e3a273b27807.tar.gz
daft-launcher-008f625c89e0bb930dbb4b92c502e3a273b27807.zip
Fixes type issue and adds style to the dark mode button
Diffstat (limited to '')
-rw-r--r--lib/data/config.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/data/config.dart b/lib/data/config.dart
index 0dd33cd..cef3eb4 100644
--- a/lib/data/config.dart
+++ b/lib/data/config.dart
@@ -8,7 +8,7 @@ class Config {
Config({ this.theme }) {}
bool isDarkMode() {
- return theme == 'dark';
+ return theme != 'light';
}
}