From 546f619063aff4e2be43a78cc346c49417616d86 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(),