Bluesky app fork with some witchin' additions 💫

Add back button to desktop threads (#7010)

authored by

Eric Bailey and committed by
GitHub
63c0c7e6 ea6ac256

+2 -3
+2 -3
src/view/com/post-thread/PostThread.tsx
··· 89 89 const {hasSession, currentAccount} = useSession() 90 90 const {_} = useLingui() 91 91 const t = useTheme() 92 - const {isMobile, isTabletOrMobile} = useWebMediaQueries() 92 + const {isMobile} = useWebMediaQueries() 93 93 const initialNumToRender = useInitialNumToRender() 94 94 const {height: windowHeight} = useWindowDimensions() 95 95 const [hiddenRepliesState, setHiddenRepliesState] = React.useState( ··· 367 367 skeleton?.highlightedPost?.type === 'post' && 368 368 (skeleton.highlightedPost.ctx.isParentLoading || 369 369 Boolean(skeleton?.parents && skeleton.parents.length > 0)) 370 - const showHeader = 371 - isNative || (isTabletOrMobile && (!hasParents || !isFetching)) 370 + const showHeader = isNative || !hasParents || !isFetching 372 371 373 372 const renderItem = ({item, index}: {item: RowItem; index: number}) => { 374 373 if (item === REPLY_PROMPT && hasSession) {