[desktop] fix bug 64448

This commit is contained in:
maxkadushkin
2026-02-09 17:27:19 +03:00
parent 9cf9e828ee
commit 8b429c4717

View File

@ -598,9 +598,9 @@ define([
const refresh_theme = function (force, caller) {
if ( force || Common.localStorage.getItem('ui-theme-id') != window.uitheme.id ) {
const theme_id = Common.localStorage.getItem('ui-theme-id');
let theme_id = Common.localStorage.getItem('ui-theme-id');
if ( theme_id ) {
if ( theme_id && (force && (theme_id = 'theme-system')) ) {
apply_theme.call(this, theme_id);
Common.NotificationCenter.trigger('uitheme:changed', theme_id, caller);
}