diff --git a/js/UI/More/Settings/tiles.js b/js/UI/More/Settings/tiles.js index 550f08d..5340066 100644 --- a/js/UI/More/Settings/tiles.js +++ b/js/UI/More/Settings/tiles.js @@ -27,7 +27,8 @@ export function addOnOffTile(conf, icon, name, desc, key, func) { if (func) item.addEventListener("click", f) handleState() - if (func && conf.changed(key)) f() + if (func) f() + document.getElementById("settings").appendChild(item) return item } \ No newline at end of file diff --git a/js/Utils/Config.js b/js/Utils/Config.js index 95f303f..817114b 100644 --- a/js/Utils/Config.js +++ b/js/Utils/Config.js @@ -37,10 +37,6 @@ export default class Config { } } - changed(key) { - return this.get(key) != this.config["ui"][key] - } - getServices() { return this.config["services"] }