[forms] fix theme applying for desktop

This commit is contained in:
Maxim Kadushkin 2021-12-02 10:18:03 +03:00
parent e72f0b5ab1
commit e15e50d21e

View file

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