Chasing down a settings bug

pull/1545/head
Salim Blume 2022-03-05 00:52:46 -06:00
parent b923423238
commit c3fc12dfa2
1 changed files with 5 additions and 5 deletions

View File

@ -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();