Release Polishing (#2325)
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
parent
2d3a0c1eda
commit
8e85ba069c
28 changed files with 88 additions and 96 deletions
|
|
@ -21,7 +21,7 @@ import { SeriesService } from 'src/app/_services/series.service';
|
|||
import { ThemeService } from 'src/app/_services/theme.service';
|
||||
import { NgbTooltip } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { NgIf, NgStyle, AsyncPipe } from '@angular/common';
|
||||
import {TranslocoDirective, TranslocoService} from "@ngneat/transloco";
|
||||
import {translate, TranslocoDirective} from "@ngneat/transloco";
|
||||
|
||||
@Component({
|
||||
selector: 'app-pdf-reader',
|
||||
|
|
@ -87,8 +87,6 @@ export class PdfReaderComponent implements OnInit, OnDestroy {
|
|||
*/
|
||||
bookMode: PageViewModeType = 'multiple';
|
||||
|
||||
private readonly translocoService = inject(TranslocoService);
|
||||
|
||||
constructor(private route: ActivatedRoute, private router: Router, public accountService: AccountService,
|
||||
private seriesService: SeriesService, public readerService: ReaderService,
|
||||
private navService: NavService, private toastr: ToastrService,
|
||||
|
|
@ -178,7 +176,7 @@ export class PdfReaderComponent implements OnInit, OnDestroy {
|
|||
this.incognitoMode = false;
|
||||
const newRoute = this.readerService.getNextChapterUrl(this.router.url, this.chapterId, this.incognitoMode, this.readingListMode, this.readingListId);
|
||||
window.history.replaceState({}, '', newRoute);
|
||||
this.toastr.info(this.translocoService.translate('toasts.incognito-off'));
|
||||
this.toastr.info(translate('toasts.incognito-off'));
|
||||
this.saveProgress();
|
||||
this.cdRef.markForCheck();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue