[DE] restore content's dark mode after relaunch

This commit is contained in:
Maxim Kadushkin 2021-07-21 19:23:49 +03:00
parent 9a8a361ab5
commit fd1aefd4ae

View file

@ -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));
},