mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-18 18:13:46 +02:00
fix: incorrect timeline reaction name
This commit is contained in:
parent
31f93704b6
commit
1c46fbea4b
2 changed files with 3 additions and 2 deletions
|
@ -19,6 +19,7 @@
|
|||
- Fix like icon being used for both like and unliked posts
|
||||
- Fix post creator can only like the post once and after it is actually created
|
||||
- Change the CategorySelectorButton to use more styling options and allow for an icon to be shown
|
||||
- Fix incorrect timeline reaction name
|
||||
|
||||
## 3.0.1
|
||||
|
||||
|
|
|
@ -483,7 +483,7 @@ class _TimelinePostScreenState extends State<TimelinePostScreen> {
|
|||
children: [
|
||||
Text(
|
||||
widget.options.nameBuilder
|
||||
?.call(post.creator) ??
|
||||
?.call(reaction.creator) ??
|
||||
reaction.creator?.fullName ??
|
||||
widget.options.translations
|
||||
.anonymousUser,
|
||||
|
@ -504,7 +504,7 @@ class _TimelinePostScreenState extends State<TimelinePostScreen> {
|
|||
child: Text.rich(
|
||||
TextSpan(
|
||||
text: widget.options.nameBuilder
|
||||
?.call(post.creator) ??
|
||||
?.call(reaction.creator) ??
|
||||
reaction.creator?.fullName ??
|
||||
widget
|
||||
.options.translations.anonymousUser,
|
||||
|
|
Loading…
Reference in a new issue