[desktop] fix bug 54653

This commit is contained in:
Maxim Kadushkin 2021-12-22 19:39:44 +03:00
parent 980a5b4c2b
commit 0ff375f675

View file

@ -1846,7 +1846,7 @@ define([
window.on_native_message = function (cmd, param) {
if (/theme:changed/.test(cmd)) {
if ( !!Common.UI.Themes.setTheme )
if ( Common.UI.Themes && !!Common.UI.Themes.setTheme )
Common.UI.Themes.setTheme(param);
} else
if (/window:features/.test(cmd)) {