Skip to content

Commit

Permalink
Fix a small bug with icons
Browse files Browse the repository at this point in the history
  • Loading branch information
bplaat committed Jan 16, 2022
1 parent 8ee4b60 commit d93e014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/lib/screens/home_screen_posts_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class _PostItemState extends State {
color: Colors.green,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8)),
padding: EdgeInsets.symmetric(horizontal: 16, vertical: 8),
icon: Icon(Icons.thumb_up_alt_outlined, color: Colors.white),
icon: Icon(Icons.thumb_up_alt, color: Colors.white),
label: Text(post.likes > 0 ? post.likes.toString() : lang.home_posts_like, style: TextStyle(color: Colors.white))
) : OutlineButton.icon(
onPressed: () async {
Expand All @@ -208,7 +208,7 @@ class _PostItemState extends State {
color: Colors.red,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8)),
padding: EdgeInsets.symmetric(horizontal: 16, vertical: 8),
icon: Icon(Icons.thumb_down_alt_outlined, color: Colors.white),
icon: Icon(Icons.thumb_down_alt, color: Colors.white),
label: Text(post.dislikes > 0 ? post.dislikes.toString() : lang.home_posts_dislike, style: TextStyle(color: Colors.white))
) : OutlineButton.icon(
onPressed: () async {
Expand Down

0 comments on commit d93e014

Please # to comment.