diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-04 13:48:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-04 13:48:21 +0100 |
commit | 21f2df5d3b3b5c3cf50884845de246e7b22f60e9 (patch) | |
tree | 058b57b02c86d47e3acd8f1dece6cbb5e95c891c /client/src/app/+my-library/my-history | |
parent | c68e2b2d223c57836e04e18105255cf0e10ae75b (diff) | |
download | PeerTube-21f2df5d3b3b5c3cf50884845de246e7b22f60e9.tar.gz PeerTube-21f2df5d3b3b5c3cf50884845de246e7b22f60e9.tar.zst PeerTube-21f2df5d3b3b5c3cf50884845de246e7b22f60e9.zip |
Put white background to peertube icons
Diffstat (limited to 'client/src/app/+my-library/my-history')
-rw-r--r-- | client/src/app/+my-library/my-history/my-history.component.ts | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/client/src/app/+my-library/my-history/my-history.component.ts b/client/src/app/+my-library/my-history/my-history.component.ts index daabca178..f6b712908 100644 --- a/client/src/app/+my-library/my-history/my-history.component.ts +++ b/client/src/app/+my-library/my-history/my-history.component.ts | |||
@@ -1,18 +1,6 @@ | |||
1 | import { tap } from 'rxjs/operators' | 1 | import { tap } from 'rxjs/operators' |
2 | import { Component, ComponentFactoryResolver, OnInit, ViewChild } from '@angular/core' | 2 | import { Component, OnInit, ViewChild } from '@angular/core' |
3 | import { ActivatedRoute, Router } from '@angular/router' | 3 | import { AuthService, ComponentPagination, ConfirmService, DisableForReuseHook, Notifier, User, UserService } from '@app/core' |
4 | import { | ||
5 | AuthService, | ||
6 | ComponentPagination, | ||
7 | ConfirmService, | ||
8 | DisableForReuseHook, | ||
9 | LocalStorageService, | ||
10 | Notifier, | ||
11 | ScreenService, | ||
12 | ServerService, | ||
13 | User, | ||
14 | UserService | ||
15 | } from '@app/core' | ||
16 | import { immutableAssign } from '@app/helpers' | 4 | import { immutableAssign } from '@app/helpers' |
17 | import { UserHistoryService, Video } from '@app/shared/shared-main' | 5 | import { UserHistoryService, Video } from '@app/shared/shared-main' |
18 | import { MiniatureDisplayOptions, VideosSelectionComponent } from '@app/shared/shared-video-miniature' | 6 | import { MiniatureDisplayOptions, VideosSelectionComponent } from '@app/shared/shared-video-miniature' |
@@ -53,17 +41,11 @@ export class MyHistoryComponent implements OnInit, DisableForReuseHook { | |||
53 | disabled = false | 41 | disabled = false |
54 | 42 | ||
55 | constructor ( | 43 | constructor ( |
56 | protected router: Router, | 44 | private authService: AuthService, |
57 | protected serverService: ServerService, | 45 | private userService: UserService, |
58 | protected route: ActivatedRoute, | 46 | private notifier: Notifier, |
59 | protected authService: AuthService, | ||
60 | protected userService: UserService, | ||
61 | protected notifier: Notifier, | ||
62 | protected screenService: ScreenService, | ||
63 | protected storageService: LocalStorageService, | ||
64 | private confirmService: ConfirmService, | 47 | private confirmService: ConfirmService, |
65 | private userHistoryService: UserHistoryService, | 48 | private userHistoryService: UserHistoryService |
66 | protected cfr: ComponentFactoryResolver | ||
67 | ) { | 49 | ) { |
68 | this.titlePage = $localize`My watch history` | 50 | this.titlePage = $localize`My watch history` |
69 | } | 51 | } |