about summary refs log tree commit diff
path: root/src/view/screens/PostThread.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/screens/PostThread.tsx')
-rw-r--r--src/view/screens/PostThread.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/screens/PostThread.tsx b/src/view/screens/PostThread.tsx
index 4b1f51748..8e9e399f5 100644
--- a/src/view/screens/PostThread.tsx
+++ b/src/view/screens/PostThread.tsx
@@ -37,6 +37,7 @@ export function PostThreadScreen({route}: Props) {
   const {isMobile} = useWebMediaQueries()
   const uri = makeRecordUri(name, 'app.bsky.feed.post', rkey)
   const {data: resolvedUri, error: uriError} = useResolveUriQuery(uri)
+  const [canReply, setCanReply] = React.useState(false)
 
   useFocusEffect(
     React.useCallback(() => {
@@ -84,10 +85,11 @@ export function PostThreadScreen({route}: Props) {
           <PostThreadComponent
             uri={resolvedUri?.uri}
             onPressReply={onPressReply}
+            onCanReply={setCanReply}
           />
         )}
       </View>
-      {isMobile && (
+      {isMobile && canReply && (
         <Animated.View
           style={[
             styles.prompt,