about summary refs log tree commit diff
path: root/src/view/com/posts/FeedItem.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-04-16 23:44:41 +0100
committerGitHub <noreply@github.com>2024-04-16 23:44:41 +0100
commit480fa10e0b90ba907db04123f0791f8ba756ab65 (patch)
treea458f97e12c762f4165b1298dea7b1ba8c80af4d /src/view/com/posts/FeedItem.tsx
parent1e26654a9b7fb7eeb2f35a99b10ad085577cf4bd (diff)
downloadvoidsky-480fa10e0b90ba907db04123f0791f8ba756ab65.tar.zst
Add hovercards to "Reply To" (#3587)
* Add hovercard for Reply To

* Tweak durations
Diffstat (limited to 'src/view/com/posts/FeedItem.tsx')
-rw-r--r--src/view/com/posts/FeedItem.tsx14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx
index cc403b774..7694b5024 100644
--- a/src/view/com/posts/FeedItem.tsx
+++ b/src/view/com/posts/FeedItem.tsx
@@ -284,12 +284,14 @@ let FeedItemInner = ({
                 numberOfLines={1}>
                 <Trans context="description">
                   Reply to{' '}
-                  <UserInfoText
-                    type="md"
-                    did={replyAuthorDid}
-                    attr="displayName"
-                    style={[pal.textLight]}
-                  />
+                  <ProfileHoverCard inline did={replyAuthorDid}>
+                    <UserInfoText
+                      type="md"
+                      did={replyAuthorDid}
+                      attr="displayName"
+                      style={[pal.textLight]}
+                    />
+                  </ProfileHoverCard>
                 </Trans>
               </Text>
             </View>