wohrm: Fix bgcolor
parent
3ae35376fc
commit
9e1dd8eda3
|
|
@ -1714,7 +1714,7 @@
|
||||||
{
|
{
|
||||||
"id": "wohrm",
|
"id": "wohrm",
|
||||||
"name": "Workout HRM",
|
"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.",
|
"description": "Workout heart rate monitor notifies you with a buzz if your heart rate goes above or below the set limits.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
|
||||||
|
|
@ -351,7 +351,6 @@ function switchOffApp(){
|
||||||
|
|
||||||
Bangle.on('lcdPower', (on) => {
|
Bangle.on('lcdPower', (on) => {
|
||||||
if (on) {
|
if (on) {
|
||||||
g.clear();
|
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
|
|
||||||
if (typeof(BTN5) !== typeof(undefined)) {
|
if (typeof(BTN5) !== typeof(undefined)) {
|
||||||
|
|
@ -368,7 +367,9 @@ Bangle.on('lcdPower', (on) => {
|
||||||
Bangle.setHRMPower(1,"wohrm");
|
Bangle.setHRMPower(1,"wohrm");
|
||||||
Bangle.on('HRM', onHrm);
|
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.loadWidgets();
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue