From 23db998f07d674c621972a769df73203b14e093a Mon Sep 17 00:00:00 2001 From: BO41 Date: Sat, 22 Sep 2018 20:11:16 +0200 Subject: remove unused imports --- client/src/app/+accounts/account-about/account-about.component.ts | 2 -- .../config/edit-custom-config/edit-custom-config.component.ts | 2 -- client/src/app/+admin/config/shared/config.service.ts | 3 +-- .../app/+admin/follows/shared/redundancy-checkbox.component.ts | 6 ------ client/src/app/+admin/follows/shared/redundancy.service.ts | 5 ++--- client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts | 2 -- client/src/app/+admin/users/user-list/user-list.component.ts | 2 -- .../my-account-settings/my-account-settings.component.ts | 2 -- .../my-account-video-imports.component.ts | 2 -- client/src/app/+my-account/shared/actor-avatar-info.component.ts | 4 ---- .../video-channel-about/video-channel-about.component.ts | 2 -- client/src/app/core/confirm/confirm.component.ts | 4 +--- client/src/app/reset-password/reset-password.component.ts | 2 -- client/src/app/search/search-filters.component.ts | 5 ----- client/src/app/shared/guards/can-deactivate-guard.service.ts | 8 ++------ client/src/app/shared/overview/overview.service.ts | 2 -- client/src/app/shared/rest/rest-extractor.service.ts | 4 +--- .../app/shared/user-subscription/subscribe-button.component.ts | 6 ------ client/src/app/shared/video-caption/video-caption.service.ts | 3 +-- client/src/app/signup/signup.component.ts | 2 -- client/src/app/videos/+video-edit/video-update.component.ts | 4 ---- .../src/app/videos/+video-watch/modal/video-download.component.ts | 4 +--- client/src/app/videos/+video-watch/modal/video-share.component.ts | 4 +--- .../src/app/videos/+video-watch/modal/video-support.component.ts | 4 +--- .../recommendations/recent-videos-recommendation.service.ts | 5 ++--- client/src/assets/player/theater-button.ts | 3 +-- 26 files changed, 14 insertions(+), 78 deletions(-) diff --git a/client/src/app/+accounts/account-about/account-about.component.ts b/client/src/app/+accounts/account-about/account-about.component.ts index 2acf67a59..6f3e6caa0 100644 --- a/client/src/app/+accounts/account-about/account-about.component.ts +++ b/client/src/app/+accounts/account-about/account-about.component.ts @@ -1,5 +1,4 @@ import { Component, OnInit, OnDestroy } from '@angular/core' -import { ActivatedRoute } from '@angular/router' import { Account } from '@app/shared/account/account.model' import { AccountService } from '@app/shared/account/account.service' import { I18n } from '@ngx-translate/i18n-polyfill' @@ -18,7 +17,6 @@ export class AccountAboutComponent implements OnInit, OnDestroy { private accountSub: Subscription constructor ( - private route: ActivatedRoute, private i18n: I18n, private accountService: AccountService, private markdownService: MarkdownService diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index ce2ea8a6c..9b3bd86f1 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts @@ -1,5 +1,4 @@ import { Component, OnInit } from '@angular/core' -import { Router } from '@angular/router' import { ConfigService } from '@app/+admin/config/shared/config.service' import { ConfirmService } from '@app/core' import { ServerService } from '@app/core/server/server.service' @@ -54,7 +53,6 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { protected formValidatorService: FormValidatorService, private customConfigValidatorsService: CustomConfigValidatorsService, private userValidatorsService: UserValidatorsService, - private router: Router, private notificationsService: NotificationsService, private configService: ConfigService, private serverService: ServerService, diff --git a/client/src/app/+admin/config/shared/config.service.ts b/client/src/app/+admin/config/shared/config.service.ts index 1565774b3..7c61fe9e7 100644 --- a/client/src/app/+admin/config/shared/config.service.ts +++ b/client/src/app/+admin/config/shared/config.service.ts @@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http' import { Injectable } from '@angular/core' import { CustomConfig } from '../../../../../../shared/models/server/custom-config.model' import { environment } from '../../../../environments/environment' -import { RestExtractor, RestService } from '../../../shared' +import { RestExtractor } from '../../../shared' @Injectable() export class ConfigService { @@ -11,7 +11,6 @@ export class ConfigService { constructor ( private authHttp: HttpClient, - private restService: RestService, private restExtractor: RestExtractor ) {} diff --git a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts index ff4725e91..6d77a0eb4 100644 --- a/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts +++ b/client/src/app/+admin/follows/shared/redundancy-checkbox.component.ts @@ -1,7 +1,4 @@ import { Component, Input } from '@angular/core' -import { AuthService } from '@app/core' -import { RestExtractor } from '@app/shared/rest' -import { RedirectService } from '@app/core/routing/redirect.service' import { NotificationsService } from 'angular2-notifications' import { I18n } from '@ngx-translate/i18n-polyfill' import { RedundancyService } from '@app/+admin/follows/shared/redundancy.service' @@ -16,9 +13,6 @@ export class RedundancyCheckboxComponent { @Input() host: string constructor ( - private authService: AuthService, - private restExtractor: RestExtractor, - private redirectService: RedirectService, private notificationsService: NotificationsService, private redundancyService: RedundancyService, private i18n: I18n diff --git a/client/src/app/+admin/follows/shared/redundancy.service.ts b/client/src/app/+admin/follows/shared/redundancy.service.ts index 96b29faab..87ae01c04 100644 --- a/client/src/app/+admin/follows/shared/redundancy.service.ts +++ b/client/src/app/+admin/follows/shared/redundancy.service.ts @@ -1,7 +1,7 @@ import { catchError, map } from 'rxjs/operators' import { HttpClient } from '@angular/common/http' import { Injectable } from '@angular/core' -import { RestExtractor, RestService } from '@app/shared' +import { RestExtractor } from '@app/shared' import { environment } from '../../../../environments/environment' @Injectable() @@ -10,8 +10,7 @@ export class RedundancyService { constructor ( private authHttp: HttpClient, - private restExtractor: RestExtractor, - private restService: RestService + private restExtractor: RestExtractor ) { } updateRedundancy (host: string, redundancyAllowed: boolean) { diff --git a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts index 44ab59d36..866ba1b23 100644 --- a/client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts +++ b/client/src/app/+admin/jobs/jobs-list/jobs-list.component.ts @@ -5,7 +5,6 @@ import { SortMeta } from 'primeng/primeng' import { Job } from '../../../../../../shared/index' import { JobState } from '../../../../../../shared/models' import { RestPagination, RestTable } from '../../../shared' -import { RestExtractor } from '../../../shared/rest/rest-extractor.service' import { JobService } from '../shared' import { I18n } from '@ngx-translate/i18n-polyfill' @@ -27,7 +26,6 @@ export class JobsListComponent extends RestTable implements OnInit { constructor ( private notificationsService: NotificationsService, - private restExtractor: RestExtractor, private jobsService: JobService, private i18n: I18n ) { diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index 9697ce202..100ffc00e 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts @@ -25,7 +25,6 @@ export class UserListComponent extends RestTable implements OnInit { pagination: RestPagination = { count: this.rowsPerPage, start: 0 } userActions: DropdownAction[] = [] - private userToBan: User private openedModal: NgbModalRef constructor ( @@ -63,7 +62,6 @@ export class UserListComponent extends RestTable implements OnInit { } hideBanUserModal () { - this.userToBan = undefined this.openedModal.close() } diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts b/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts index 164a46a48..62053d97b 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.ts @@ -2,7 +2,6 @@ import { Component, OnInit, ViewChild } from '@angular/core' import { NotificationsService } from 'angular2-notifications' import { BytesPipe } from 'ngx-pipes' import { AuthService } from '../../core' -import { ServerService } from '../../core/server' import { User } from '../../shared' import { UserService } from '../../shared/users' import { I18n } from '@ngx-translate/i18n-polyfill' @@ -20,7 +19,6 @@ export class MyAccountSettingsComponent implements OnInit { constructor ( private userService: UserService, private authService: AuthService, - private serverService: ServerService, private notificationsService: NotificationsService, private i18n: I18n ) {} diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts index 31ccb0bc8..d9fb20446 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts @@ -2,7 +2,6 @@ import { Component, OnInit } from '@angular/core' import { RestPagination, RestTable } from '@app/shared' import { SortMeta } from 'primeng/components/common/sortmeta' import { NotificationsService } from 'angular2-notifications' -import { ConfirmService } from '@app/core' import { I18n } from '@ngx-translate/i18n-polyfill' import { VideoImport, VideoImportState } from '../../../../../shared/models/videos' import { VideoImportService } from '@app/shared/video-import' @@ -21,7 +20,6 @@ export class MyAccountVideoImportsComponent extends RestTable implements OnInit constructor ( private notificationsService: NotificationsService, - private confirmService: ConfirmService, private videoImportService: VideoImportService, private i18n: I18n ) { diff --git a/client/src/app/+my-account/shared/actor-avatar-info.component.ts b/client/src/app/+my-account/shared/actor-avatar-info.component.ts index e0b25ad33..7b80b1ed4 100644 --- a/client/src/app/+my-account/shared/actor-avatar-info.component.ts +++ b/client/src/app/+my-account/shared/actor-avatar-info.component.ts @@ -1,7 +1,5 @@ import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core' -import { AuthService } from '../../core' import { ServerService } from '../../core/server' -import { UserService } from '../../shared/users' import { NotificationsService } from 'angular2-notifications' import { VideoChannel } from '@app/shared/video-channel/video-channel.model' import { Account } from '@app/shared/account/account.model' @@ -19,8 +17,6 @@ export class ActorAvatarInfoComponent { @Output() avatarChange = new EventEmitter() constructor ( - private userService: UserService, - private authService: AuthService, private serverService: ServerService, private notificationsService: NotificationsService ) {} diff --git a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts index 901c91de9..ea7b0e118 100644 --- a/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts +++ b/client/src/app/+video-channels/video-channel-about/video-channel-about.component.ts @@ -1,5 +1,4 @@ import { Component, OnDestroy, OnInit } from '@angular/core' -import { ActivatedRoute } from '@angular/router' import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' import { VideoChannel } from '@app/shared/video-channel/video-channel.model' import { I18n } from '@ngx-translate/i18n-polyfill' @@ -19,7 +18,6 @@ export class VideoChannelAboutComponent implements OnInit, OnDestroy { private videoChannelSub: Subscription constructor ( - private route: ActivatedRoute, private i18n: I18n, private videoChannelService: VideoChannelService, private markdownService: MarkdownService diff --git a/client/src/app/core/confirm/confirm.component.ts b/client/src/app/core/confirm/confirm.component.ts index 0d18c38e8..5138b7848 100644 --- a/client/src/app/core/confirm/confirm.component.ts +++ b/client/src/app/core/confirm/confirm.component.ts @@ -26,9 +26,7 @@ export class ConfirmComponent implements OnInit { private modalService: NgbModal, private confirmService: ConfirmService, private i18n: I18n - ) { - // Empty - } + ) { } ngOnInit () { this.confirmService.showConfirm.subscribe( diff --git a/client/src/app/reset-password/reset-password.component.ts b/client/src/app/reset-password/reset-password.component.ts index cb4a634f1..af1298de6 100644 --- a/client/src/app/reset-password/reset-password.component.ts +++ b/client/src/app/reset-password/reset-password.component.ts @@ -2,7 +2,6 @@ import { Component, OnInit } from '@angular/core' import { ActivatedRoute, Router } from '@angular/router' import { UserService, UserValidatorsService } from '@app/shared' import { NotificationsService } from 'angular2-notifications' -import { AuthService } from '../core' import { FormReactive } from '../shared' import { I18n } from '@ngx-translate/i18n-polyfill' import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' @@ -22,7 +21,6 @@ export class ResetPasswordComponent extends FormReactive implements OnInit { protected formValidatorService: FormValidatorService, private resetPasswordValidatorsService: ResetPasswordValidatorsService, private userValidatorsService: UserValidatorsService, - private authService: AuthService, private userService: UserService, private notificationsService: NotificationsService, private router: Router, diff --git a/client/src/app/search/search-filters.component.ts b/client/src/app/search/search-filters.component.ts index f2f001e3f..8d7f84ac1 100644 --- a/client/src/app/search/search-filters.component.ts +++ b/client/src/app/search/search-filters.component.ts @@ -31,11 +31,6 @@ export class SearchFiltersComponent implements OnInit { constructor ( private i18n: I18n, - private route: ActivatedRoute, - private metaService: MetaService, - private redirectService: RedirectService, - private notificationsService: NotificationsService, - private searchService: SearchService, private serverService: ServerService ) { this.publishedDateRanges = [ diff --git a/client/src/app/shared/guards/can-deactivate-guard.service.ts b/client/src/app/shared/guards/can-deactivate-guard.service.ts index c038a5c0e..e2a79e8c4 100644 --- a/client/src/app/shared/guards/can-deactivate-guard.service.ts +++ b/client/src/app/shared/guards/can-deactivate-guard.service.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core' -import { ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot } from '@angular/router' +import { CanDeactivate } from '@angular/router' import { Observable } from 'rxjs' import { ConfirmService } from '../../core/index' import { I18n } from '@ngx-translate/i18n-polyfill' @@ -15,11 +15,7 @@ export class CanDeactivateGuard implements CanDeactivate private i18n: I18n ) { } - canDeactivate (component: CanComponentDeactivate, - currentRoute: ActivatedRouteSnapshot, - currentState: RouterStateSnapshot, - nextState: RouterStateSnapshot - ) { + canDeactivate (component: CanComponentDeactivate) { const result = component.canDeactivate() const text = result.text || this.i18n('All unsaved data will be lost, are you sure you want to leave this page?') diff --git a/client/src/app/shared/overview/overview.service.ts b/client/src/app/shared/overview/overview.service.ts index 097079e6d..98dba2d97 100644 --- a/client/src/app/shared/overview/overview.service.ts +++ b/client/src/app/shared/overview/overview.service.ts @@ -5,7 +5,6 @@ import { forkJoin, Observable, of } from 'rxjs' import { VideosOverview as VideosOverviewServer, peertubeTranslate } from '../../../../../shared/models' import { environment } from '../../../environments/environment' import { RestExtractor } from '../rest/rest-extractor.service' -import { RestService } from '../rest/rest.service' import { VideosOverview } from '@app/shared/overview/videos-overview.model' import { VideoService } from '@app/shared/video/video.service' import { ServerService } from '@app/core' @@ -18,7 +17,6 @@ export class OverviewService { constructor ( private authHttp: HttpClient, private restExtractor: RestExtractor, - private restService: RestService, private videosService: VideoService, private serverService: ServerService ) {} diff --git a/client/src/app/shared/rest/rest-extractor.service.ts b/client/src/app/shared/rest/rest-extractor.service.ts index 0d5b6d6f3..6492aa66d 100644 --- a/client/src/app/shared/rest/rest-extractor.service.ts +++ b/client/src/app/shared/rest/rest-extractor.service.ts @@ -11,9 +11,7 @@ export class RestExtractor { constructor ( private router: Router, private i18n: I18n - ) { - // empty - } + ) { } extractDataBool () { return true diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.ts b/client/src/app/shared/user-subscription/subscribe-button.component.ts index ba7acf69a..b5873a2ee 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.ts +++ b/client/src/app/shared/user-subscription/subscribe-button.component.ts @@ -1,7 +1,4 @@ import { Component, Input, OnInit } from '@angular/core' -import { AuthService } from '@app/core' -import { RestExtractor } from '@app/shared/rest' -import { RedirectService } from '@app/core/routing/redirect.service' import { UserSubscriptionService } from '@app/shared/user-subscription/user-subscription.service' import { VideoChannel } from '@app/shared/video-channel/video-channel.model' import { NotificationsService } from 'angular2-notifications' @@ -20,9 +17,6 @@ export class SubscribeButtonComponent implements OnInit { subscribed: boolean constructor ( - private authService: AuthService, - private restExtractor: RestExtractor, - private redirectService: RedirectService, private notificationsService: NotificationsService, private userSubscriptionService: UserSubscriptionService, private i18n: I18n diff --git a/client/src/app/shared/video-caption/video-caption.service.ts b/client/src/app/shared/video-caption/video-caption.service.ts index 08fd61265..a1838ab16 100644 --- a/client/src/app/shared/video-caption/video-caption.service.ts +++ b/client/src/app/shared/video-caption/video-caption.service.ts @@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http' import { Injectable } from '@angular/core' import { forkJoin, Observable, of } from 'rxjs' import { peertubeTranslate, ResultList } from '../../../../../shared' -import { RestExtractor, RestService } from '../rest' +import { RestExtractor } from '../rest' import { VideoService } from '@app/shared/video/video.service' import { objectToFormData, sortBy } from '@app/shared/misc/utils' import { VideoCaptionEdit } from '@app/shared/video-caption/video-caption-edit.model' @@ -15,7 +15,6 @@ export class VideoCaptionService { constructor ( private authHttp: HttpClient, private serverService: ServerService, - private restService: RestService, private restExtractor: RestExtractor ) {} diff --git a/client/src/app/signup/signup.component.ts b/client/src/app/signup/signup.component.ts index 16e444678..cf2657b85 100644 --- a/client/src/app/signup/signup.component.ts +++ b/client/src/app/signup/signup.component.ts @@ -1,5 +1,4 @@ import { Component, OnInit } from '@angular/core' -import { Router } from '@angular/router' import { NotificationsService } from 'angular2-notifications' import { UserCreate } from '../../../../shared' import { FormReactive, UserService, UserValidatorsService } from '../shared' @@ -18,7 +17,6 @@ export class SignupComponent extends FormReactive implements OnInit { constructor ( protected formValidatorService: FormValidatorService, private userValidatorsService: UserValidatorsService, - private router: Router, private notificationsService: NotificationsService, private userService: UserService, private serverService: ServerService, diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts index 75b11f46c..856e61530 100644 --- a/client/src/app/videos/+video-edit/video-update.component.ts +++ b/client/src/app/videos/+video-edit/video-update.component.ts @@ -5,11 +5,9 @@ import { LoadingBarService } from '@ngx-loading-bar/core' import { NotificationsService } from 'angular2-notifications' import { VideoConstant, VideoPrivacy } from '../../../../../shared/models/videos' import { ServerService } from '../../core' -import { AuthService } from '../../core/auth' import { FormReactive } from '../../shared' import { VideoEdit } from '../../shared/video/video-edit.model' import { VideoService } from '../../shared/video/video.service' -import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' import { I18n } from '@ngx-translate/i18n-polyfill' import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' import { VideoCaptionService } from '@app/shared/video-caption' @@ -38,9 +36,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { private notificationsService: NotificationsService, private serverService: ServerService, private videoService: VideoService, - private authService: AuthService, private loadingBar: LoadingBarService, - private videoChannelService: VideoChannelService, private videoCaptionService: VideoCaptionService, private i18n: I18n ) { diff --git a/client/src/app/videos/+video-watch/modal/video-download.component.ts b/client/src/app/videos/+video-watch/modal/video-download.component.ts index 1361146dd..f4d9003ee 100644 --- a/client/src/app/videos/+video-watch/modal/video-download.component.ts +++ b/client/src/app/videos/+video-watch/modal/video-download.component.ts @@ -15,9 +15,7 @@ export class VideoDownloadComponent implements OnInit { downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent' resolutionId: number | string = -1 - constructor (private modalService: NgbModal) { - // empty - } + constructor (private modalService: NgbModal) { } ngOnInit () { this.resolutionId = this.video.files[0].resolution.id diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.ts b/client/src/app/videos/+video-watch/modal/video-share.component.ts index 71d6f5633..17e2b31e1 100644 --- a/client/src/app/videos/+video-watch/modal/video-share.component.ts +++ b/client/src/app/videos/+video-watch/modal/video-share.component.ts @@ -25,9 +25,7 @@ export class VideoShareComponent { private modalService: NgbModal, private notificationsService: NotificationsService, private i18n: I18n - ) { - // empty - } + ) { } show (currentVideoTimestamp?: number) { this.currentVideoTimestamp = Math.floor(currentVideoTimestamp) diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.ts b/client/src/app/videos/+video-watch/modal/video-support.component.ts index 2d400e0be..154002120 100644 --- a/client/src/app/videos/+video-watch/modal/video-support.component.ts +++ b/client/src/app/videos/+video-watch/modal/video-support.component.ts @@ -19,9 +19,7 @@ export class VideoSupportComponent { constructor ( private markdownService: MarkdownService, private modalService: NgbModal - ) { - // empty - } + ) { } show () { this.videoHTMLSupport = this.markdownService.enhancedMarkdownToHTML(this.video.support) diff --git a/client/src/app/videos/recommendations/recent-videos-recommendation.service.ts b/client/src/app/videos/recommendations/recent-videos-recommendation.service.ts index 0ee34b9cb..59acf17bc 100644 --- a/client/src/app/videos/recommendations/recent-videos-recommendation.service.ts +++ b/client/src/app/videos/recommendations/recent-videos-recommendation.service.ts @@ -1,4 +1,4 @@ -import { Inject, Injectable } from '@angular/core' +import { Injectable } from '@angular/core' import { RecommendationService } from '@app/videos/recommendations/recommendations.service' import { Video } from '@app/shared/video/video.model' import { RecommendationInfo } from '@app/shared/video/recommendation-info.model' @@ -19,8 +19,7 @@ export class RecentVideosRecommendationService implements RecommendationService constructor ( private videos: VideoService, private searchService: SearchService - ) { - } + ) { } getRecommendations (recommendation: RecommendationInfo): Observable { return this.fetchPage(1, recommendation) diff --git a/client/src/assets/player/theater-button.ts b/client/src/assets/player/theater-button.ts index bad737eda..5cf0b6425 100644 --- a/client/src/assets/player/theater-button.ts +++ b/client/src/assets/player/theater-button.ts @@ -1,6 +1,5 @@ import { VideoJSComponentInterface, videojsUntyped } from './peertube-videojs-typings' -import { saveTheaterInStore } from './peertube-player-local-storage' -import { getStoredTheater } from './peertube-player-local-storage' +import { saveTheaterInStore, getStoredTheater } from './peertube-player-local-storage' const Button: VideoJSComponentInterface = videojsUntyped.getComponent('Button') class TheaterButton extends Button { -- cgit v1.2.3