From 8f07c8a2bb66dc1212006e97d4574dfb7dc08bec Mon Sep 17 00:00:00 2001 From: nyne Date: Mon, 2 Dec 2024 16:47:13 +0800 Subject: [PATCH] comment button --- lib/pages/comic_page.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/pages/comic_page.dart b/lib/pages/comic_page.dart index d740ce2..12d84f5 100644 --- a/lib/pages/comic_page.dart +++ b/lib/pages/comic_page.dart @@ -288,8 +288,7 @@ class _ComicPageState extends LoadingState onLongPressed: quickFavorite, iconColor: context.useTextColor(Colors.purple), ), - if (comicSource.commentsLoader != null && - (comic.comments == null || comic.comments!.isEmpty)) + if (comicSource.commentsLoader != null) _ActionButton( icon: const Icon(Icons.comment), text: (comic.commentsCount ?? 'Comments'.tl).toString(),