This commit is contained in:
Mo Bitar
2020-04-09 16:23:06 -05:00
parent 8835fd6ebf
commit 75bd2653f7
3 changed files with 10 additions and 16 deletions

View File

@@ -80,8 +80,7 @@ export class ThemeManager extends ApplicationService {
const activeThemes = this.application.componentManager.getActiveThemes();
for (const theme of activeThemes) {
if (theme) {
const dontSync = true;
this.application.componentManager.deactivateComponent(theme, dontSync);
this.application.componentManager.deregisterComponent(theme);
}
}
this.activeThemes = [];