diff --git a/src/view/com/post-thread/PostRepostedBy.tsx b/src/view/com/post-thread/PostRepostedBy.tsx index adb20a7f..53f0e0b3 100644 --- a/src/view/com/post-thread/PostRepostedBy.tsx +++ b/src/view/com/post-thread/PostRepostedBy.tsx @@ -93,7 +93,7 @@ const RepostedByItem = ({item}: {item: RepostedByViewItemModel}) => { /> - {item.displayName} + {item.displayName || item.handle} @{item.handle} diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index a4b62810..4dd6f33e 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -93,7 +93,9 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.metaItem} href={authorHref} title={authorTitle}> - {item.author.displayName} + + {item.author.displayName || item.author.handle} + · {ago(item.indexedAt)} @@ -243,7 +245,9 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.metaItem} href={authorHref} title={authorTitle}> - {item.author.displayName} + + {item.author.displayName || item.author.handle} + { /> - {item.actor.displayName} + + {item.actor.displayName || item.actor.handle} + @{item.actor.handle} diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 4a1e67b6..22bdd27a 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -102,7 +102,9 @@ export const Post = observer(function Post({uri}: {uri: string}) { - {item.author.displayName} + + {item.author.displayName || item.author.handle} + @{item.author.handle} diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx index 2f66bd51..fbcb979a 100644 --- a/src/view/com/posts/FeedItem.tsx +++ b/src/view/com/posts/FeedItem.tsx @@ -106,7 +106,9 @@ export const FeedItem = observer(function FeedItem({ style={styles.metaItem} href={authorHref} title={item.author.handle}> - {item.author.displayName} + + {item.author.displayName || item.author.handle} + { /> - {item.displayName} + {item.displayName || item.handle} @{item.handle} diff --git a/src/view/com/profile/ProfileFollows.tsx b/src/view/com/profile/ProfileFollows.tsx index d0619ba7..1bdd18f6 100644 --- a/src/view/com/profile/ProfileFollows.tsx +++ b/src/view/com/profile/ProfileFollows.tsx @@ -84,7 +84,7 @@ const User = ({item}: {item: FollowItem}) => { /> - {item.displayName} + {item.displayName || item.handle} @{item.handle}