diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f8b315..0308c4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ - Add the iconbutton for image uploading back to the ReactionBottom - Fix category key is correctly used for saving timeline posts and category title is shown everywhere - Fix when clicking on post delete in the post screen of the userstory it will now navigate back to the timeline and delete the post +- Fix like icon being used for both like and unliked posts ## 3.0.1 diff --git a/packages/flutter_timeline_view/lib/src/widgets/timeline_post_widget.dart b/packages/flutter_timeline_view/lib/src/widgets/timeline_post_widget.dart index 8e45197..6b53f3e 100644 --- a/packages/flutter_timeline_view/lib/src/widgets/timeline_post_widget.dart +++ b/packages/flutter_timeline_view/lib/src/widgets/timeline_post_widget.dart @@ -257,7 +257,7 @@ class _TimelinePostWidgetState extends State { onTap: widget.onTapLike, child: Container( color: Colors.transparent, - child: widget.options.theme.likedIcon ?? + child: widget.options.theme.likeIcon ?? Icon( Icons.favorite_outline, color: widget.options.theme.iconColor,