From 21f2df5d3b3b5c3cf50884845de246e7b22f60e9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 4 Feb 2022 13:48:21 +0100 Subject: Put white background to peertube icons --- .../+my-library/my-history/my-history.component.ts | 30 +++++----------------- 1 file changed, 6 insertions(+), 24 deletions(-) (limited to 'client/src/app') 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 @@ import { tap } from 'rxjs/operators' -import { Component, ComponentFactoryResolver, OnInit, ViewChild } from '@angular/core' -import { ActivatedRoute, Router } from '@angular/router' -import { - AuthService, - ComponentPagination, - ConfirmService, - DisableForReuseHook, - LocalStorageService, - Notifier, - ScreenService, - ServerService, - User, - UserService -} from '@app/core' +import { Component, OnInit, ViewChild } from '@angular/core' +import { AuthService, ComponentPagination, ConfirmService, DisableForReuseHook, Notifier, User, UserService } from '@app/core' import { immutableAssign } from '@app/helpers' import { UserHistoryService, Video } from '@app/shared/shared-main' import { MiniatureDisplayOptions, VideosSelectionComponent } from '@app/shared/shared-video-miniature' @@ -53,17 +41,11 @@ export class MyHistoryComponent implements OnInit, DisableForReuseHook { disabled = false constructor ( - protected router: Router, - protected serverService: ServerService, - protected route: ActivatedRoute, - protected authService: AuthService, - protected userService: UserService, - protected notifier: Notifier, - protected screenService: ScreenService, - protected storageService: LocalStorageService, + private authService: AuthService, + private userService: UserService, + private notifier: Notifier, private confirmService: ConfirmService, - private userHistoryService: UserHistoryService, - protected cfr: ComponentFactoryResolver + private userHistoryService: UserHistoryService ) { this.titlePage = $localize`My watch history` } -- cgit v1.2.3