Improve history display. Part of #200

This commit is contained in:
2025-02-18 19:39:15 +08:00
parent d73e152cec
commit 5fb0d2327d
2 changed files with 7 additions and 6 deletions

View File

@@ -385,8 +385,9 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
var ep = history!.ep;
String text;
if (haveChapter) {
text = "Last Reading: Chapter @ep Page @page".tlParams({
'ep': ep,
text = "Last Reading: @epName Page @page".tlParams({
'epName': comic.chapters!.values.elementAt(
math.min(ep - 1, comic.chapters!.length - 1)),
'page': page,
});
} else {