This commit is contained in:
2024-11-30 21:05:35 +08:00
parent 2063eee82b
commit 9fb3482474
4 changed files with 68 additions and 3 deletions

View File

@@ -163,7 +163,7 @@ class ComicTile extends StatelessWidget {
Widget buildImage(BuildContext context) {
ImageProvider image;
if (comic is LocalComic) {
image = FileImage((comic as LocalComic).coverFile);
image = LocalComicImageProvider(comic as LocalComic);
} else if (comic.sourceKey == 'local') {
var localComic = LocalManager().find(comic.id, ComicType.local);
if (localComic == null) {