mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 15:14:11 +08:00
[desktop] fix bug 63875
This commit is contained in:
@ -146,7 +146,7 @@ define([
|
||||
window.RendererProcessVariable.theme.system = opts.theme.system;
|
||||
|
||||
if ( Common.UI.Themes.currentThemeId() == 'theme-system' )
|
||||
Common.UI.Themes.setTheme('theme-system');
|
||||
Common.UI.Themes.refreshTheme(true);
|
||||
}
|
||||
} else
|
||||
if (/element:show/.test(cmd)) {
|
||||
|
||||
@ -510,6 +510,8 @@ define([
|
||||
}
|
||||
},
|
||||
|
||||
refreshTheme: refresh_theme,
|
||||
|
||||
toggleTheme: function () {
|
||||
this.setTheme( this.isDarkTheme() ? id_default_light_theme : id_default_dark_theme );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user