mirror of https://github.com/espruino/BangleApps
Update app.js
parent
296919571d
commit
c9729ca9c4
|
@ -266,9 +266,7 @@ function initAltMenu() {
|
||||||
}},
|
}},
|
||||||
{type:"btn", font:"16%", pad:1, fillx:1, label:"SAVE", cb: ()=>{
|
{type:"btn", font:"16%", pad:1, fillx:1, label:"SAVE", cb: ()=>{
|
||||||
require('Storage').writeJSON("tinyVario.json", settings);
|
require('Storage').writeJSON("tinyVario.json", settings);
|
||||||
var o=Bangle.getOptions();
|
Bangle.setOptions({seaLevelPressure:qnh});
|
||||||
o.seaLevelPressure=qnh;
|
|
||||||
Bangle.setOptions(o);
|
|
||||||
initPFD();
|
initPFD();
|
||||||
}}
|
}}
|
||||||
]}
|
]}
|
||||||
|
|
Loading…
Reference in New Issue