mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
show comment action button if comic.comments is empty
This commit is contained in:
@@ -288,7 +288,8 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
|
||||
onLongPressed: quickFavorite,
|
||||
iconColor: context.useTextColor(Colors.purple),
|
||||
),
|
||||
if (comicSource.commentsLoader != null && comic.comments == null)
|
||||
if (comicSource.commentsLoader != null &&
|
||||
(comic.comments == null || comic.comments!.isEmpty))
|
||||
_ActionButton(
|
||||
icon: const Icon(Icons.comment),
|
||||
text: (comic.commentsCount ?? 'Comments'.tl).toString(),
|
||||
|
Reference in New Issue
Block a user