[desktop] fix theme applying

This commit is contained in:
Maxim Kadushkin 2021-12-05 17:42:14 +03:00
parent f9ca39f6d1
commit 025218b048

View file

@ -384,7 +384,8 @@ define([
}, },
onContentThemeChangedToDark: function (isdark) { onContentThemeChangedToDark: function (isdark) {
this.header.menuItemsDarkMode.setChecked(isdark, true); if ( this.header.menuItemsDarkMode )
this.header.menuItemsDarkMode.setChecked(isdark, true);
}, },
onWindowResize: function(e) { onWindowResize: function(e) {