Teatimer: Fix BG/FG color

master
Hank 2022-07-07 08:58:14 +02:00
parent b3569f7f36
commit 3aace6daff
3 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,3 @@
0.01: New App! 0.01: New App!
0.02: Fix issue setting colors after showMessage 0.02: Fix issue setting colors after showMessage
0.03: Fix BG/FG Color if e.g. theme background is black

View File

@ -216,6 +216,8 @@ function initDragEvents() {
function showHelp() { function showHelp() {
if (state == states.start) { if (state == states.start) {
state = states.help; 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"); 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 // return to start

View File

@ -1,7 +1,7 @@
{ {
"id": "teatimer", "id": "teatimer",
"name": "Tea Timer", "name": "Tea Timer",
"version": "0.02", "version": "0.03",
"description": "A simple timer. You can easyly set up the time.", "description": "A simple timer. You can easyly set up the time.",
"icon": "teatimer.png", "icon": "teatimer.png",
"type": "app", "type": "app",