mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Fix: Theme Saving
This commit is contained in:
@@ -27,6 +27,7 @@ async function loadSettings() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
el.addEventListener("change", () => {
|
el.addEventListener("change", () => {
|
||||||
|
if (key === "theme") return;
|
||||||
let value = el.type === "checkbox" ? el.checked : el.value;
|
let value = el.type === "checkbox" ? el.checked : el.value;
|
||||||
window.electronAPI.setFeature(key, value);
|
window.electronAPI.setFeature(key, value);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user