about summary refs log tree commit diff
path: root/src/screens/PostThread/components
diff options
context:
space:
mode:
authorElijah Seed-Arita <elijaharita@gmail.com>2025-08-15 06:16:13 -0700
committerGitHub <noreply@github.com>2025-08-15 06:16:13 -0700
commit5ca665467e9cbedd78f21df76db8cfde8eaa66b4 (patch)
treeed5ac7602b6d2904b49a22ac0d182bd7154cc756 /src/screens/PostThread/components
parent4e0be91cffa15711eaa3116e01d761dd9a0a749b (diff)
downloadvoidsky-5ca665467e9cbedd78f21df76db8cfde8eaa66b4.tar.zst
feat: use OP's language as recommendation when replying (#8832)
* feat: use OP's language as recommendation when replying

* fix: address nits
Diffstat (limited to 'src/screens/PostThread/components')
-rw-r--r--src/screens/PostThread/components/ThreadItemAnchor.tsx1
-rw-r--r--src/screens/PostThread/components/ThreadItemPost.tsx1
-rw-r--r--src/screens/PostThread/components/ThreadItemTreePost.tsx1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/screens/PostThread/components/ThreadItemAnchor.tsx b/src/screens/PostThread/components/ThreadItemAnchor.tsx
index 39e84d383..fc1f1caeb 100644
--- a/src/screens/PostThread/components/ThreadItemAnchor.tsx
+++ b/src/screens/PostThread/components/ThreadItemAnchor.tsx
@@ -254,6 +254,7 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({
         author: post.author,
         embed: post.embed,
         moderation,
+        langs: record.langs,
       },
       onPostSuccess: onPostSuccess,
     })
diff --git a/src/screens/PostThread/components/ThreadItemPost.tsx b/src/screens/PostThread/components/ThreadItemPost.tsx
index 4337397f8..98520f16e 100644
--- a/src/screens/PostThread/components/ThreadItemPost.tsx
+++ b/src/screens/PostThread/components/ThreadItemPost.tsx
@@ -234,6 +234,7 @@ const ThreadItemPostInner = memo(function ThreadItemPostInner({
         author: post.author,
         embed: post.embed,
         moderation,
+        langs: post.record.langs,
       },
       onPostSuccess: onPostSuccess,
     })
diff --git a/src/screens/PostThread/components/ThreadItemTreePost.tsx b/src/screens/PostThread/components/ThreadItemTreePost.tsx
index 31517a40f..b009695a9 100644
--- a/src/screens/PostThread/components/ThreadItemTreePost.tsx
+++ b/src/screens/PostThread/components/ThreadItemTreePost.tsx
@@ -298,6 +298,7 @@ const ThreadItemTreePostInner = memo(function ThreadItemTreePostInner({
         author: post.author,
         embed: post.embed,
         moderation,
+        langs: post.record.langs,
       },
       onPostSuccess: onPostSuccess,
     })