fix: do not deactivate all themes on theme service deinit; themes should remain activated on application lock

This commit is contained in:
Mo
2022-02-07 09:54:51 -06:00
parent 5605baeb57
commit f9c47a10ca

View File

@@ -97,7 +97,6 @@ export class ThemeManager extends ApplicationService {
}
deinit() {
this.deactivateAllThemes();
this.activeThemes.length = 0;
this.unregisterDesktop();
this.unregisterStream();
@@ -128,7 +127,6 @@ export class ThemeManager extends ApplicationService {
}
}
/** @override */
async onAppStart() {
super.onAppStart();
this.registerObservers();