Skip to content

Commit

Permalink
Fix spacing issue with saved title
Browse files Browse the repository at this point in the history
  • Loading branch information
micahmo committed Oct 3, 2023
1 parent 47039a7 commit e0c8301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/community/widgets/post_card_view_comfortable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit e0c8301

Please sign in to comment.