Fix the issue of not being able to read local comics.

This commit is contained in:
nyne
2025-03-28 18:54:32 +08:00
parent 7bc4c69a32
commit f3b4598bb6

View File

@@ -306,7 +306,7 @@ class _LocalComicsPageState extends State<LocalComicsPage> {
}); });
} else { } else {
// prevent dirty data // prevent dirty data
var comic = LocalManager().find(c.id, ComicType(c.sourceKey.hashCode))!; var comic = LocalManager().find(c.id, ComicType.fromKey(c.sourceKey.hashCode))!;
comic.read(); comic.read();
} }
}, },