mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 02:23: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 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
|
- 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
|
- Change the CategorySelectorButton to use more styling options and allow for an icon to be shown
|
||||||
|
- Fix incorrect timeline reaction name
|
||||||
|
|
||||||
## 3.0.1
|
## 3.0.1
|
||||||
|
|
||||||
|
|
|
@ -483,7 +483,7 @@ class _TimelinePostScreenState extends State<TimelinePostScreen> {
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
widget.options.nameBuilder
|
widget.options.nameBuilder
|
||||||
?.call(post.creator) ??
|
?.call(reaction.creator) ??
|
||||||
reaction.creator?.fullName ??
|
reaction.creator?.fullName ??
|
||||||
widget.options.translations
|
widget.options.translations
|
||||||
.anonymousUser,
|
.anonymousUser,
|
||||||
|
@ -504,7 +504,7 @@ class _TimelinePostScreenState extends State<TimelinePostScreen> {
|
||||||
child: Text.rich(
|
child: Text.rich(
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: widget.options.nameBuilder
|
text: widget.options.nameBuilder
|
||||||
?.call(post.creator) ??
|
?.call(reaction.creator) ??
|
||||||
reaction.creator?.fullName ??
|
reaction.creator?.fullName ??
|
||||||
widget
|
widget
|
||||||
.options.translations.anonymousUser,
|
.options.translations.anonymousUser,
|
||||||
|
|
Loading…
Reference in a new issue