mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Improve comic chapters.
This commit is contained in:
@@ -386,7 +386,7 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
|
||||
String text;
|
||||
if (haveChapter) {
|
||||
text = "Last Reading: @epName Page @page".tlParams({
|
||||
'epName': comic.chapters!.values.elementAt(
|
||||
'epName': comic.chapters!.titles.elementAt(
|
||||
math.min(ep - 1, comic.chapters!.length - 1)),
|
||||
'page': page,
|
||||
});
|
||||
@@ -610,7 +610,7 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
|
||||
}
|
||||
return _ComicChapters(
|
||||
history: history,
|
||||
groupedMode: comic.groupedChapters != null,
|
||||
groupedMode: comic.chapters!.isGrouped,
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user