Sliding Clock: set default colour when no colour is in the config

pull/2178/head
Adrian Kirk 2022-10-09 11:28:38 +01:00
parent 991fbe63af
commit 8ed98163e7
No known key found for this signature in database
GPG Key ID: 5A448EB0FC623526
1 changed files with 2 additions and 0 deletions

View File

@ -701,6 +701,8 @@ function loadSettings() {
initDisplay(settings); initDisplay(settings);
if (settings.color_scheme != null) { if (settings.color_scheme != null) {
setColorScheme(settings.color_scheme); setColorScheme(settings.color_scheme);
} else {
setColorScheme("black");
} }
if (settings.enable_live_controls == null) { if (settings.enable_live_controls == null) {
settings.enable_live_controls = (bangleVersion() <= 1); settings.enable_live_controls = (bangleVersion() <= 1);