mirror of https://github.com/espruino/BangleApps
wohrm: fixes after running on Bangle.js2
- set to dark theme as doesn't look good with white in the corners) - leave space for widgetspull/1253/head
parent
b120f7572f
commit
3ae35376fc
|
@ -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",
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue