[desktop] fix theme applying
This commit is contained in:
parent
f9ca39f6d1
commit
025218b048
|
@ -384,7 +384,8 @@ define([
|
|||
},
|
||||
|
||||
onContentThemeChangedToDark: function (isdark) {
|
||||
this.header.menuItemsDarkMode.setChecked(isdark, true);
|
||||
if ( this.header.menuItemsDarkMode )
|
||||
this.header.menuItemsDarkMode.setChecked(isdark, true);
|
||||
},
|
||||
|
||||
onWindowResize: function(e) {
|
||||
|
|
Loading…
Reference in a new issue