Add HistoryImageProvider

This commit is contained in:
2024-12-02 11:19:06 +08:00
parent 24188b51c0
commit 6c5df47663
6 changed files with 111 additions and 44 deletions

View File

@@ -164,6 +164,8 @@ class ComicTile extends StatelessWidget {
ImageProvider image;
if (comic is LocalComic) {
image = LocalComicImageProvider(comic as LocalComic);
} else if (comic is History) {
image = HistoryImageProvider(comic as History);
} else if (comic.sourceKey == 'local') {
var localComic = LocalManager().find(comic.id, ComicType.local);
if (localComic == null) {