Fixed an issue where clicking on local comics on the home page would cause the history to be lost. Close #196

This commit is contained in:
2025-02-18 18:49:25 +08:00
parent bd53416968
commit d73e152cec
3 changed files with 6 additions and 1 deletions

View File

@@ -165,6 +165,8 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
cid: widget.id,
name: localComic.title,
chapters: localComic.chapters,
initialPage: history?.page,
initialChapter: history?.ep,
history: history ??
History.fromModel(
model: localComic,