Skip to content

Commit

Permalink
fix: remove unused properties
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Sep 29, 2020
1 parent 3057eaa commit 9019dda
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/assets/javascripts/services/themeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@ import {
EncryptionIntent,
ApplicationService,
SNTheme,
ComponentArea,
removeFromArray,
ApplicationEvent, ContentType
} from 'snjs';
import { AppStateEvent } from '@/ui_models/app_state';

const CACHED_THEMES_KEY = 'cachedThemes';

export class ThemeManager extends ApplicationService {

private activeThemes: string[] = []
private unsubState?: () => void
private unregisterDesktop!: () => void
private unregisterStream!: () => void

Expand All @@ -36,8 +33,6 @@ export class ThemeManager extends ApplicationService {

deinit() {
this.clearAppThemeState();
this.unsubState?.();
(this.unsubState as any) = undefined;
this.activeThemes.length = 0;
this.unregisterDesktop();
this.unregisterStream();
Expand Down

0 comments on commit 9019dda

Please sign in to comment.