[DE] restore content's dark mode after relaunch
This commit is contained in:
parent
9a8a361ab5
commit
fd1aefd4ae
|
@ -261,6 +261,10 @@ define([
|
|||
obj.name = theme_name;
|
||||
api.asc_setSkin(obj);
|
||||
|
||||
if ( this.isDarkTheme() ) {
|
||||
this.api.asc_setContentDarkMode(this.isContentThemeDark());
|
||||
}
|
||||
|
||||
Common.NotificationCenter.on('document:ready', on_document_ready.bind(this));
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue