fix: do not deactivate all themes on theme service deinit; themes should remain activated on application lock
This commit is contained in:
@@ -97,7 +97,6 @@ export class ThemeManager extends ApplicationService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deinit() {
|
deinit() {
|
||||||
this.deactivateAllThemes();
|
|
||||||
this.activeThemes.length = 0;
|
this.activeThemes.length = 0;
|
||||||
this.unregisterDesktop();
|
this.unregisterDesktop();
|
||||||
this.unregisterStream();
|
this.unregisterStream();
|
||||||
@@ -128,7 +127,6 @@ export class ThemeManager extends ApplicationService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @override */
|
|
||||||
async onAppStart() {
|
async onAppStart() {
|
||||||
super.onAppStart();
|
super.onAppStart();
|
||||||
this.registerObservers();
|
this.registerObservers();
|
||||||
|
|||||||
Reference in New Issue
Block a user