From 256851435768ab436563e067fe38a82f5ce49566 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Sun, 21 May 2023 19:22:10 -0600 Subject: [PATCH] Code cleanup --- src/app/player/player.component.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/app/player/player.component.ts b/src/app/player/player.component.ts index c21d33c7..3316c180 100644 --- a/src/app/player/player.component.ts +++ b/src/app/player/player.component.ts @@ -61,8 +61,6 @@ export class PlayerComponent implements OnInit, AfterViewInit, OnDestroy { url = null; name = null; - innerWidth: number; - downloading = false; save_volume_timer = null; @@ -70,14 +68,7 @@ export class PlayerComponent implements OnInit, AfterViewInit, OnDestroy { @ViewChild('twitchchat') twitchChat: TwitchChatComponent; - @HostListener('window:resize', ['$event']) - onResize(): void { - this.innerWidth = window.innerWidth; - } - ngOnInit(): void { - this.innerWidth = window.innerWidth; - this.playlist_id = this.route.snapshot.paramMap.get('playlist_id'); this.uid = this.route.snapshot.paramMap.get('uid'); this.sub_id = this.route.snapshot.paramMap.get('sub_id');