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'
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`
}