[desktop] fix switch from "system" theme

This commit is contained in:
Maxim Kadushkin 2022-11-09 19:59:45 +03:00
parent dcfd578f73
commit fe41feb424

View file

@ -68,6 +68,7 @@ if ( window.desktop ) {
delete params.uitheme;
} else {
localStorage.setItem("ui-theme-id", theme.id);
localStorage.removeItem("ui-theme-use-system");
}
localStorage.removeItem("ui-theme");