diff --git a/.idea/runConfigurations/main_dart.xml b/.idea/runConfigurations/main_dart.xml index aab7b5c..934fdfc 100644 --- a/.idea/runConfigurations/main_dart.xml +++ b/.idea/runConfigurations/main_dart.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/lib/src/screens/settings.dart b/lib/src/screens/settings.dart index 6ca4dca..936d000 100644 --- a/lib/src/screens/settings.dart +++ b/lib/src/screens/settings.dart @@ -34,6 +34,7 @@ class _SettingState extends State { int serverPort; bool useHttps; bool needsAuth; + bool darkTheme; String userId; String userPassword; @@ -44,6 +45,7 @@ class _SettingState extends State { serverPort = 4316; useHttps = false; needsAuth = false; + darkTheme = false; userId = 'openlp'; userPassword = 'password'; } @@ -76,6 +78,15 @@ class _SettingState extends State { ); }, ), + CheckboxListTile( + title: Text('Use Dark theme'), + onChanged: (value) { + setState(() { + darkTheme = value; + }); + }, + value: useHttps, + ), CheckboxListTile( title: Text('Use HTTPS'), onChanged: (value) {