From 3aace6daffda6948366debe3f9f5950e7695c45d Mon Sep 17 00:00:00 2001 From: Hank Date: Thu, 7 Jul 2022 08:58:14 +0200 Subject: [PATCH] Teatimer: Fix BG/FG color --- apps/teatimer/ChangeLog | 1 + apps/teatimer/app.js | 2 ++ apps/teatimer/metadata.json | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/teatimer/ChangeLog b/apps/teatimer/ChangeLog index 91eb720eb..db8dd270b 100644 --- a/apps/teatimer/ChangeLog +++ b/apps/teatimer/ChangeLog @@ -1,2 +1,3 @@ 0.01: New App! 0.02: Fix issue setting colors after showMessage +0.03: Fix BG/FG Color if e.g. theme background is black diff --git a/apps/teatimer/app.js b/apps/teatimer/app.js index 80a731317..c394b5e00 100644 --- a/apps/teatimer/app.js +++ b/apps/teatimer/app.js @@ -216,6 +216,8 @@ function initDragEvents() { function showHelp() { if (state == states.start) { state = states.help; + g.setBgColor(g.theme.bg); + g.setColor(g.theme.fg); E.showMessage("Swipe up/down\n+/- one minute\n\nSwipe left/right\n+/- 15 seconds\n\nPress Btn1 to start","Tea timer help"); } // return to start diff --git a/apps/teatimer/metadata.json b/apps/teatimer/metadata.json index f53ed374f..b5cdce92e 100644 --- a/apps/teatimer/metadata.json +++ b/apps/teatimer/metadata.json @@ -1,7 +1,7 @@ { "id": "teatimer", "name": "Tea Timer", - "version": "0.02", + "version": "0.03", "description": "A simple timer. You can easyly set up the time.", "icon": "teatimer.png", "type": "app",