From f9c47a10cae64cbf7b8d71d171a16d3489859f9d Mon Sep 17 00:00:00 2001 From: Mo Date: Mon, 7 Feb 2022 09:54:51 -0600 Subject: [PATCH] fix: do not deactivate all themes on theme service deinit; themes should remain activated on application lock --- app/assets/javascripts/services/themeManager.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/assets/javascripts/services/themeManager.ts b/app/assets/javascripts/services/themeManager.ts index 2648397a0..2c9b36d63 100644 --- a/app/assets/javascripts/services/themeManager.ts +++ b/app/assets/javascripts/services/themeManager.ts @@ -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();