1
0
Fork 0

0.04: Fixes after regression in 0.03 (fix #3257)

master
Gordon Williams 2024-03-14 09:47:38 +00:00
parent 89898f1ce5
commit 5d5c307b9d
3 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
0.01: First release
0.02: Fixed settings changes are actually reflected now and old values are strikethrough
0.03: Minor code improvements
0.04: Fix after regression in 0.03

View File

@ -4,7 +4,7 @@
"shortName":"BG Widget",
"icon": "screenshot.png",
"screenshots": [{"url":"screenshot.png"}],
"version": "0.03",
"version": "0.04",
"type": "widget",
"supports": ["BANGLEJS", "BANGLEJS2"],
"readme": "README.md",

View File

@ -65,8 +65,8 @@
break;
}
// turn the arrow thanks to (https://forum.espruino.com/conversations/344607/)
/*
const p180 = Math.PI / 180;
/*
// a is defined above
var r = 21;
var x = r * Math.sin(a * p180);
@ -116,7 +116,7 @@
console.log(settings.unitIsMmol.toString());
loadVals();
outpt = getBG(storedData.bg);
let outpt = getBG(storedData.bg);
if (outpt === null) { // this means no value has been received yet
outpt = "BG";