bthrm - Use default boolean formatter in custom menu
parent
c6489b1044
commit
a1e52e15ef
|
|
@ -142,7 +142,6 @@
|
||||||
'< Back': function() { E.showMenu(buildMainMenu()); },
|
'< Back': function() { E.showMenu(buildMainMenu()); },
|
||||||
'Replace HRM': {
|
'Replace HRM': {
|
||||||
value: !!settings.custom_replace,
|
value: !!settings.custom_replace,
|
||||||
format: v => settings.custom_replace ? "On" : "Off",
|
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
writeSettings("custom_replace",v);
|
writeSettings("custom_replace",v);
|
||||||
if (settings.mode == 3) applyCustomSettings();
|
if (settings.mode == 3) applyCustomSettings();
|
||||||
|
|
@ -150,7 +149,6 @@
|
||||||
},
|
},
|
||||||
'Start w. HRM': {
|
'Start w. HRM': {
|
||||||
value: !!settings.custom_startWithHrm,
|
value: !!settings.custom_startWithHrm,
|
||||||
format: v => settings.custom_startWithHrm ? "On" : "Off",
|
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
writeSettings("custom_startWithHrm",v);
|
writeSettings("custom_startWithHrm",v);
|
||||||
if (settings.mode == 3) applyCustomSettings();
|
if (settings.mode == 3) applyCustomSettings();
|
||||||
|
|
@ -158,7 +156,6 @@
|
||||||
},
|
},
|
||||||
'HRM Fallback': {
|
'HRM Fallback': {
|
||||||
value: !!settings.custom_allowFallback,
|
value: !!settings.custom_allowFallback,
|
||||||
format: v => settings.custom_allowFallback ? "On" : "Off",
|
|
||||||
onchange: v => {
|
onchange: v => {
|
||||||
writeSettings("custom_allowFallback",v);
|
writeSettings("custom_allowFallback",v);
|
||||||
if (settings.mode == 3) applyCustomSettings();
|
if (settings.mode == 3) applyCustomSettings();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue