From 8c6b78ebe19b29e7513d708a8f9bfe34d1f51cdf Mon Sep 17 00:00:00 2001 From: Purple-Tentacle <59914607+Purple-Tentacle@users.noreply.github.com> Date: Thu, 16 Apr 2020 10:32:41 +0200 Subject: [PATCH] Bugfix json creation --- apps/chronowid/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/chronowid/app.js b/apps/chronowid/app.js index cb99268af..48401a7bb 100644 --- a/apps/chronowid/app.js +++ b/apps/chronowid/app.js @@ -27,7 +27,7 @@ function resetSettings() { } settingsChronowid = storage.readJSON('chronowid.json',1); -if (!settingsChronowid.started) resetSettings(); +if (!settingsChronowid) resetSettings(); E.on('kill', () => { print("-KILL-"); @@ -88,4 +88,4 @@ function showMenu() { return E.showMenu(timerMenu); } -showMenu(); \ No newline at end of file +showMenu();