fixed default settings override for ios devices
This commit is contained in:
parent
869dab9d1f
commit
08cbc05018
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue