Update app.js

master
sir-indy 2022-04-19 16:36:17 +01:00 committed by GitHub
parent 20f9f2ad86
commit aedb3a0b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -31,11 +31,6 @@ function menuSettings() {
min : 0, max : 3,
format : v=>["Off","3 mins","10 mins","Always"][v],
onchange : v => { s.hrm=v;setSettings(s); }
},
"Daily Step Goal":{
value : 10000|s.stepGoal,
min : 0, max : 20000, step : 100,
onchange : v => { s.stepGoal=v;setSettings(s); }
}
});
}
@ -43,11 +38,17 @@ function menuSettings() {
function menuStepCount() {
swipe_enabled = false;
clearButton();
var s=getSettings();
E.showMenu({
"":{title:"Step Counting"},
"< Back":()=>menuMain(),
"per hour":()=>stepsPerHour(),
"per day":()=>stepsPerDay()
"per day":()=>stepsPerDay(),
"Daily Step Goal":{
value : 10000|s.stepGoal,
min : 0, max : 20000, step : 100,
onchange : v => { s.stepGoal=v;setSettings(s); }
}
});
}