🐛 Fix publisher avatar fallback didn't apply on featured replies
This commit is contained in:
@@ -75,6 +75,7 @@ class PostRepliesList extends HookConsumerWidget {
|
||||
isShowReference: false,
|
||||
isEmbedOpenable: true,
|
||||
onOpen: onOpen,
|
||||
onUpdate: (newPost) {},
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
@@ -139,7 +139,9 @@ class PostReplyPreview extends HookConsumerWidget {
|
||||
spacing: 8,
|
||||
children: [
|
||||
ProfilePictureWidget(
|
||||
file: post.publisher.picture,
|
||||
file:
|
||||
post.publisher.picture ??
|
||||
post.publisher.account?.profile.picture,
|
||||
radius: 12,
|
||||
).padding(top: 4),
|
||||
if (post.content?.isNotEmpty ?? false)
|
||||
@@ -218,7 +220,9 @@ class PostReplyPreview extends HookConsumerWidget {
|
||||
spacing: 8,
|
||||
children: [
|
||||
ProfilePictureWidget(
|
||||
file: data.value?.publisher.picture,
|
||||
file:
|
||||
data.value?.publisher.picture ??
|
||||
data.value?.publisher.account?.profile.picture,
|
||||
radius: 12,
|
||||
).padding(top: 4),
|
||||
if (data.value?.content?.isNotEmpty ?? false)
|
||||
|
||||
Reference in New Issue
Block a user