wohrm: Fix bgcolor

master
Adam Schmalhofer 2021-12-19 21:01:47 +01:00
parent 3ae35376fc
commit 9e1dd8eda3
2 changed files with 4 additions and 3 deletions

View File

@ -1714,7 +1714,7 @@
{
"id": "wohrm",
"name": "Workout HRM",
"version": "0.09-rc2",
"version": "0.09-rc3",
"description": "Workout heart rate monitor notifies you with a buzz if your heart rate goes above or below the set limits.",
"icon": "app.png",
"type": "app",

View File

@ -351,7 +351,6 @@ function switchOffApp(){
Bangle.on('lcdPower', (on) => {
if (on) {
g.clear();
Bangle.drawWidgets();
if (typeof(BTN5) !== typeof(undefined)) {
@ -368,7 +367,9 @@ Bangle.on('lcdPower', (on) => {
Bangle.setHRMPower(1,"wohrm");
Bangle.on('HRM', onHrm);
g.setTheme({bg:"#000",fg:"#fff",dark:true}).clear();
g.setTheme({bg:"#000",fg:"#fff",dark:true});
g.reset()
g.clear();
Bangle.loadWidgets();
Bangle.drawWidgets();