fix importing comic

This commit is contained in:
nyne
2024-10-30 20:28:34 +08:00
parent c2d3f3e56d
commit 0589e63be7

View File

@@ -699,7 +699,7 @@ class _ImportComicsWidgetState extends State<_ImportComicsWidget> {
subtitle: '',
tags: [],
directory: directory.name,
chapters: Map.fromIterables(chapters, chapters),
chapters: hasChapters ? Map.fromIterables(chapters, chapters) : null,
cover: coverPath,
comicType: ComicType.local,
downloadedChapters: chapters,