From a1e52e15efcb032f2364e9d992a35247874cd16d Mon Sep 17 00:00:00 2001 From: Martin Boonk Date: Sat, 2 Jul 2022 00:50:17 +0200 Subject: [PATCH] bthrm - Use default boolean formatter in custom menu --- apps/bthrm/settings.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/bthrm/settings.js b/apps/bthrm/settings.js index 4661f223f..7861a56bc 100644 --- a/apps/bthrm/settings.js +++ b/apps/bthrm/settings.js @@ -142,7 +142,6 @@ '< Back': function() { E.showMenu(buildMainMenu()); }, 'Replace HRM': { value: !!settings.custom_replace, - format: v => settings.custom_replace ? "On" : "Off", onchange: v => { writeSettings("custom_replace",v); if (settings.mode == 3) applyCustomSettings(); @@ -150,7 +149,6 @@ }, 'Start w. HRM': { value: !!settings.custom_startWithHrm, - format: v => settings.custom_startWithHrm ? "On" : "Off", onchange: v => { writeSettings("custom_startWithHrm",v); if (settings.mode == 3) applyCustomSettings(); @@ -158,7 +156,6 @@ }, 'HRM Fallback': { value: !!settings.custom_allowFallback, - format: v => settings.custom_allowFallback ? "On" : "Off", onchange: v => { writeSettings("custom_allowFallback",v); if (settings.mode == 3) applyCustomSettings();