wohrm: fixes after running on Bangle.js2

- set to dark theme as doesn't look good with white in the corners)

- leave space for widgets
pull/1253/head
Adam Schmalhofer 2021-12-19 20:45:11 +01:00
parent b120f7572f
commit 3ae35376fc
2 changed files with 3 additions and 3 deletions

View File

@ -1714,7 +1714,7 @@
{
"id": "wohrm",
"name": "Workout HRM",
"version": "0.09-rc1",
"version": "0.09-rc2",
"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

@ -36,7 +36,7 @@ const upperLshape = isB1 ? {
} : {
minX: Bangle.appRect.x2-100,
maxX: Bangle.appRect.x2,
minY: Bangle.appRect.y,
minY: 24,
maxY: Bangle.appRect.y2,
rectWidth: 26,
cornerRoundness: 4,
@ -368,7 +368,7 @@ Bangle.on('lcdPower', (on) => {
Bangle.setHRMPower(1,"wohrm");
Bangle.on('HRM', onHrm);
g.clear();
g.setTheme({bg:"#000",fg:"#fff",dark:true}).clear();
Bangle.loadWidgets();
Bangle.drawWidgets();