fix: incorrect timeline reaction name

This commit is contained in:
Freek van de Ven 2024-05-24 10:09:56 +02:00
parent 31f93704b6
commit 1c46fbea4b
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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,