mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Show comic pages in details page.
This commit is contained in:
@@ -461,7 +461,8 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
|
||||
if (comic.tags.isEmpty &&
|
||||
comic.uploader == null &&
|
||||
comic.uploadTime == null &&
|
||||
comic.uploadTime == null) {
|
||||
comic.uploadTime == null &&
|
||||
comic.maxPage == null) {
|
||||
return const SliverPadding(padding: EdgeInsets.zero);
|
||||
}
|
||||
|
||||
@@ -625,6 +626,13 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
|
||||
buildTag(text: formatTime(comic.updateTime!)),
|
||||
],
|
||||
),
|
||||
if (comic.maxPage != null)
|
||||
buildWrap(
|
||||
children: [
|
||||
buildTag(text: 'Pages'.tl, isTitle: true),
|
||||
buildTag(text: comic.maxPage.toString()),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
const Divider(),
|
||||
],
|
||||
|
Reference in New Issue
Block a user