forked from FOSS/BangleApps
Update settings.js
parent
23f2a6dbdb
commit
fddcf5f45b
|
@ -15,7 +15,7 @@
|
||||||
E.showMenu({
|
E.showMenu({
|
||||||
"" : { "title" : "Seaside Watch" },
|
"" : { "title" : "Seaside Watch" },
|
||||||
"< Back" : () => back(),
|
"< Back" : () => back(),
|
||||||
'High or low?': {
|
'Tide type': {
|
||||||
value: "high"|settings.nextTideType, // !! converts undefined to false
|
value: "high"|settings.nextTideType, // !! converts undefined to false
|
||||||
format: v => v?"high":"low ",
|
format: v => v?"high":"low ",
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
writeSettings();
|
writeSettings();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'Hour?': {
|
'Hour': {
|
||||||
value: 0|settings.nextTideHour, // 0| converts undefined to 0
|
value: 0|settings.nextTideHour, // 0| converts undefined to 0
|
||||||
min: 0, max: 23,
|
min: 0, max: 23,
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
writeSettings();
|
writeSettings();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'Minutes?': {
|
'Minutes': {
|
||||||
value: 0|settings.nextTideMin, // 0| converts undefined to 0
|
value: 0|settings.nextTideMin, // 0| converts undefined to 0
|
||||||
min: 0, max: 59,
|
min: 0, max: 59,
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
|
|
Loading…
Reference in New Issue