Fix an issue where it was impossible to read a new chapter of a downloaded comic. Close #256

This commit is contained in:
2025-03-17 19:18:18 +08:00
parent 533497ead1
commit 55ad652191
4 changed files with 26 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ class _ReaderImagesState extends State<_ReaderImages> {
inProgress = true;
if (reader.type == ComicType.local ||
(LocalManager()
.isDownloaded(reader.cid, reader.type, reader.chapter))) {
.isDownloaded(reader.cid, reader.type, reader.chapter, reader.widget.chapters))) {
try {
var images = await LocalManager()
.getImages(reader.cid, reader.type, reader.chapter);