Update app.js

pull/2070/head
xxDUxx 2022-07-31 11:16:18 +02:00 committed by GitHub
parent 51bb637572
commit b7baf9ed3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -266,6 +266,9 @@ function initAltMenu() {
}},
{type:"btn", font:"16%", pad:1, fillx:1, label:"SAVE", cb: ()=>{
require('Storage').writeJSON("tinyVario.json", settings);
var o=Bangle.getOptions();
o.seaLevelPressure=qnh;
Bangle.setOptions(o);
initPFD();
}}
]}