diff --git a/firefox/popup/settings.js b/firefox/popup/settings.js index fea891e5..1966a45a 100644 --- a/firefox/popup/settings.js +++ b/firefox/popup/settings.js @@ -124,7 +124,10 @@ function setCheckboxesOfService(service) { const buttons = document.querySelectorAll("#" + service + capitalizeFirstLetter(key)); // console.log(service + capitalizeFirstLetter(key), buttons); buttons.forEach((button) => { - button.checked = settings[service][key]; + if (service === "Statistics") { + if (key != "SegmentsSkipped") button.textContent = getTimeFormatted(settings[service][key]); + else button.textContent = settings[service][key]; + } else button.checked = settings[service][key]; }); }); }