From 008f625c89e0bb930dbb4b92c502e3a273b27807 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 3 Jun 2020 19:45:38 +0530 Subject: Fixes type issue and adds style to the dark mode button --- lib/data/config.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/data') 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'; } } -- cgit v1.3.1