[desktop] fix switch from "system" theme
This commit is contained in:
parent
dcfd578f73
commit
fe41feb424
|
@ -68,6 +68,7 @@ if ( window.desktop ) {
|
||||||
delete params.uitheme;
|
delete params.uitheme;
|
||||||
} else {
|
} else {
|
||||||
localStorage.setItem("ui-theme-id", theme.id);
|
localStorage.setItem("ui-theme-id", theme.id);
|
||||||
|
localStorage.removeItem("ui-theme-use-system");
|
||||||
}
|
}
|
||||||
|
|
||||||
localStorage.removeItem("ui-theme");
|
localStorage.removeItem("ui-theme");
|
||||||
|
|
Loading…
Reference in a new issue