Update app.js

Let's load correct settings :)
master
Marco H 2021-12-11 13:28:21 +01:00 committed by GitHub
parent 7dcc5385e2
commit 29ba4fab0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@ let i = 2;
let settings;
function loadSettings() {
settings = storage.readJSON('weather.json', 1) || {};
settings = storage.readJSON('clicompleteclk.json', 1) || {};
}
function setting(key) {
@ -246,4 +246,5 @@ g.clear();
Bangle.setUI("clock");
Bangle.loadWidgets();
Bangle.drawWidgets();
loadSettings();
drawAll(true);