import { Component, ElementRef, Input, ViewChild } from '@angular/core'
-import { NotificationsService } from 'angular2-notifications'
+import { Notifier } from '@app/core'
import { VideoDetails } from '../../../shared/video/video-details.model'
import { buildVideoEmbed, buildVideoLink } from '../../../../assets/player/utils'
import { I18n } from '@ngx-translate/i18n-polyfill'
constructor (
private modalService: NgbModal,
- private notificationsService: NotificationsService,
+ private notifier: Notifier,
private i18n: I18n
) { }
}
activateCopiedMessage () {
- this.notificationsService.success(this.i18n('Success'), this.i18n('Copied'))
+ this.notifier.success(this.i18n('Copied'))
}
getStartCheckboxLabel () {