Fix typo in toast notification (#1630)

This commit is contained in:
pssandhu 2022-11-02 02:01:03 +00:00 committed by GitHub
parent ccca2402e0
commit 9690e412e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,7 @@ export class ActionService implements OnDestroy {
markChapterAsUnread(seriesId: number, chapter: Chapter, callback?: ChapterActionCallback) { markChapterAsUnread(seriesId: number, chapter: Chapter, callback?: ChapterActionCallback) {
this.readerService.saveProgress(seriesId, chapter.volumeId, chapter.id, 0).pipe(take(1)).subscribe(results => { this.readerService.saveProgress(seriesId, chapter.volumeId, chapter.id, 0).pipe(take(1)).subscribe(results => {
chapter.pagesRead = 0; chapter.pagesRead = 0;
this.toastr.success('Marked as unread'); this.toastr.success('Marked as Unread');
if (callback) { if (callback) {
callback(chapter); callback(chapter);
} }
@ -306,7 +306,7 @@ export class ActionService implements OnDestroy {
volume.chapters?.forEach(c => c.pagesRead = 0); volume.chapters?.forEach(c => c.pagesRead = 0);
}); });
chapters?.forEach(c => c.pagesRead = 0); chapters?.forEach(c => c.pagesRead = 0);
this.toastr.success('Marked as Read'); this.toastr.success('Marked as Unread');
if (callback) { if (callback) {
callback(); callback();