mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 10:33:44 +02:00
fix: use listPostCreatorTitleStyle for post creator rather than postCreatorTitleStyle
It's shown in a list and the rest of the text in the widget is already styled through the list* parameters, so it only makes sense for this one to be too.
This commit is contained in:
parent
5abc859c24
commit
4f347634db
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
## Next
|
## Next
|
||||||
|
|
||||||
- Add minimal spacing between a post author and title in the post widget
|
- Add minimal spacing between a post author and title in the post widget
|
||||||
|
- Use listPostCreatorTitleStyle for post creator localizations when showing posts in a list
|
||||||
|
|
||||||
## 5.1.1
|
## 5.1.1
|
||||||
|
|
||||||
|
|
|
@ -213,7 +213,7 @@ class _TimelinePostScreenState extends State<TimelinePostScreen> {
|
||||||
post.creator?.fullName ??
|
post.creator?.fullName ??
|
||||||
widget.options.translations.anonymousUser,
|
widget.options.translations.anonymousUser,
|
||||||
style: widget.options.theme.textStyles
|
style: widget.options.theme.textStyles
|
||||||
.postCreatorTitleStyle ??
|
.listPostCreatorTitleStyle ??
|
||||||
theme.textTheme.titleSmall!.copyWith(
|
theme.textTheme.titleSmall!.copyWith(
|
||||||
color: Colors.black,
|
color: Colors.black,
|
||||||
),
|
),
|
||||||
|
|
|
@ -103,7 +103,7 @@ class _TimelinePostWidgetState extends State<TimelinePostWidget> {
|
||||||
widget.post.creator?.fullName ??
|
widget.post.creator?.fullName ??
|
||||||
widget.options.translations.anonymousUser,
|
widget.options.translations.anonymousUser,
|
||||||
style: widget.options.theme.textStyles
|
style: widget.options.theme.textStyles
|
||||||
.postCreatorTitleStyle ??
|
.listPostCreatorTitleStyle ??
|
||||||
theme.textTheme.titleSmall!.copyWith(
|
theme.textTheme.titleSmall!.copyWith(
|
||||||
color: Colors.black,
|
color: Colors.black,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue