From e0c8301c1d94b93640641464bb3071707793edf4 Mon Sep 17 00:00:00 2001 From: Micah Morrison Date: Mon, 2 Oct 2023 23:32:29 -0400 Subject: [PATCH] Fix spacing issue with saved title --- lib/community/widgets/post_card_view_comfortable.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/community/widgets/post_card_view_comfortable.dart b/lib/community/widgets/post_card_view_comfortable.dart index 02f29b154..b7d170e80 100644 --- a/lib/community/widgets/post_card_view_comfortable.dart +++ b/lib/community/widgets/post_card_view_comfortable.dart @@ -132,7 +132,7 @@ class PostCardViewComfortable extends StatelessWidget { color: indicateRead && postViewMedia.postView.read ? Colors.green.withOpacity(0.55) : Colors.green, ), ), - if (postViewMedia.postView.post.featuredCommunity || postViewMedia.postView.saved || postViewMedia.postView.post.locked) + if (postViewMedia.postView.post.featuredCommunity || (!useSaveButton && postViewMedia.postView.saved) || postViewMedia.postView.post.locked) const WidgetSpan( child: SizedBox( width: 3.5, @@ -193,7 +193,7 @@ class PostCardViewComfortable extends StatelessWidget { color: indicateRead && postViewMedia.postView.read ? Colors.green.withOpacity(0.55) : Colors.green, ), ), - if (postViewMedia.postView.post.featuredCommunity || postViewMedia.postView.saved || postViewMedia.postView.post.locked) + if (postViewMedia.postView.post.featuredCommunity || (!useSaveButton && postViewMedia.postView.saved) || postViewMedia.postView.post.locked) const WidgetSpan( child: SizedBox( width: 3.5,