diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/post-thread/PostThread.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index 8d2a4ac95..4d0aee494 100644 --- a/src/view/com/post-thread/PostThread.tsx +++ b/src/view/com/post-thread/PostThread.tsx @@ -152,7 +152,7 @@ function PostThreadLoaded({ const {hasSession} = useSession() const {_} = useLingui() const pal = usePalette('default') - const {isTablet, isDesktop, isTabletOrMobile} = useWebMediaQueries() + const {isTablet, isMobile, isDesktop, isTabletOrMobile} = useWebMediaQueries() const ref = useRef<ListMethods>(null) const highlightedPostRef = useRef<View | null>(null) const needsScrollAdjustment = useRef<boolean>( @@ -271,7 +271,7 @@ function PostThreadLoaded({ } else if (item === REPLY_PROMPT && hasSession) { return ( <View> - {isDesktop && <ComposePrompt onPressCompose={onPressReply} />} + {!isMobile && <ComposePrompt onPressCompose={onPressReply} />} </View> ) } else if (item === DELETED) { @@ -362,7 +362,7 @@ function PostThreadLoaded({ [ hasSession, isTablet, - isDesktop, + isMobile, onPressReply, pal.border, pal.viewLight, |