Skip to content

best way to save what you love

fixed default settings override for ios devices

wukko08cbc050187b
diff --git a/src/front/cobalt.js b/src/front/cobalt.js
index 1d0341d7..3010989c 100644
--- a/src/front/cobalt.js
+++ b/src/front/cobalt.js
@@ -143,8 +143,8 @@ function changeSwitcher(li, b) {
if (li == "theme") detectColorScheme();
} else {
let pref = switchers[li][0];
- sSet(li, pref);
if (isIOS && exceptions[li]) pref = exceptions[li];
+ sSet(li, pref);
for (i in switchers[li]) {
(switchers[li][i] == pref) ? enable(`${li}-${pref}`) : disable(`${li}-${switchers[li][i]}`)
}