mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-20 15:02:07 +00:00
Fix unread count after marking chapters read
Fix unread count not updating when marking selected chapters as read
This commit is contained in:
parent
10ee707284
commit
1e2153fa4f
1 changed files with 2 additions and 0 deletions
|
|
@ -914,6 +914,7 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
|
|||
chapter.updateTrackChapterRead(ref);
|
||||
}
|
||||
}
|
||||
isar.mangas.putSync(widget.manga!);
|
||||
});
|
||||
ref
|
||||
.read(isLongPressedStateProvider.notifier)
|
||||
|
|
@ -963,6 +964,7 @@ class _MangaDetailViewState extends ConsumerState<MangaDetailView>
|
|||
chapters[i].manga.saveSync();
|
||||
}
|
||||
}
|
||||
isar.mangas.putSync(widget.manga!);
|
||||
ref
|
||||
.read(isLongPressedStateProvider.notifier)
|
||||
.update(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue