From de6b380f4ede660c5ab349d52ce8a595aa793aac Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 25 Jan 2024 21:26:07 +0000 Subject: [PATCH] Show composer reply prompt on tablet (#2622) --- src/view/com/post-thread/PostThread.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx index 8d2a4ac9..4d0aee49 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(null) const highlightedPostRef = useRef(null) const needsScrollAdjustment = useRef( @@ -271,7 +271,7 @@ function PostThreadLoaded({ } else if (item === REPLY_PROMPT && hasSession) { return ( - {isDesktop && } + {!isMobile && } ) } else if (item === DELETED) { @@ -362,7 +362,7 @@ function PostThreadLoaded({ [ hasSession, isTablet, - isDesktop, + isMobile, onPressReply, pal.border, pal.viewLight,