mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 04:50:13 +02:00
fixed default settings override for ios devices
This commit is contained in:
parent
869dab9d1f
commit
08cbc05018
@ -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]}`)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user