diff options
Diffstat (limited to 'client/src/app/shared/video/modals/video-download.component.ts')
-rw-r--r-- | client/src/app/shared/video/modals/video-download.component.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/src/app/shared/video/modals/video-download.component.ts b/client/src/app/shared/video/modals/video-download.component.ts index a07560f87..16f3621b4 100644 --- a/client/src/app/shared/video/modals/video-download.component.ts +++ b/client/src/app/shared/video/modals/video-download.component.ts | |||
@@ -12,7 +12,7 @@ import { Notifier } from '@app/core' | |||
12 | export class VideoDownloadComponent { | 12 | export class VideoDownloadComponent { |
13 | @ViewChild('modal') modal: ElementRef | 13 | @ViewChild('modal') modal: ElementRef |
14 | 14 | ||
15 | downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent' | 15 | downloadType: 'direct' | 'torrent' = 'torrent' |
16 | resolutionId: number | string = -1 | 16 | resolutionId: number | string = -1 |
17 | 17 | ||
18 | video: VideoDetails | 18 | video: VideoDetails |
@@ -57,9 +57,6 @@ export class VideoDownloadComponent { | |||
57 | 57 | ||
58 | case 'torrent': | 58 | case 'torrent': |
59 | return file.torrentDownloadUrl | 59 | return file.torrentDownloadUrl |
60 | |||
61 | case 'magnet': | ||
62 | return file.magnetUri | ||
63 | } | 60 | } |
64 | } | 61 | } |
65 | 62 | ||