mirror of https://github.com/espruino/BangleApps
Chasing down a settings bug
parent
b923423238
commit
c3fc12dfa2
|
@ -333,7 +333,7 @@ exports.appendMenuItems = function(menu, settings, saveSettings) {
|
|||
menu['Ntfy Steps'] = {
|
||||
min: 0, max: stepAmts.length-1,
|
||||
value: Math.max(stepAmts.indexOf(settings.notifySteps),0),
|
||||
format: v => stepAmts[v],
|
||||
format: v => stepAmts[v].toString(),
|
||||
onchange: v => {
|
||||
settings.notifySteps = stepAmts[v];
|
||||
saveSettings();
|
||||
|
|
Loading…
Reference in New Issue