diff --git a/lib/pages/home_page.dart b/lib/pages/home_page.dart index 3195e2f..f4c0a66 100644 --- a/lib/pages/home_page.dart +++ b/lib/pages/home_page.dart @@ -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,