mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +00: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…
Reference in a new issue