From d60b2da468f280b0fbbb822a6520711eb81a2719 Mon Sep 17 00:00:00 2001 From: Martin Boonk Date: Mon, 17 Jul 2023 21:11:11 +0200 Subject: [PATCH] qmsched - Remove debug prints --- apps/qmsched/lib.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/qmsched/lib.js b/apps/qmsched/lib.js index 305092b90..f6107df5f 100644 --- a/apps/qmsched/lib.js +++ b/apps/qmsched/lib.js @@ -4,7 +4,6 @@ */ function switchTheme(mode) { let s = require("Storage").readJSON("setting.json", 1) || {}; - print("Theme is ", s.theme); if (!!mode === s.theme.quiet) return; // nothing to do // default themes, copied from settings.js:showThemeMenu() function cl(x) { return g.setColor(x).getColor(); } @@ -31,7 +30,6 @@ function switchTheme(mode) { if (q.quietTheme) quietTheme = q.quietTheme; s.theme = mode ? quietTheme : normalTheme; - print("New theme is ", s.theme); require("Storage").writeJSON("setting.json", s); // reload clocks with new theme, otherwise just wait for user to switch apps