diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-04 00:57:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 18:57:47 -0600 |
commit | c82f768374041bb4b34e89177453dae3e03b9e2a (patch) | |
tree | 66b0d11f21eec6dc90cae0d1222e62c4f194da54 /src/view/com/posts/PostFeed.tsx | |
parent | 7222d6fe520cfdd811b5457cf9c8f9d2524197a0 (diff) | |
download | voidsky-c82f768374041bb4b34e89177453dae3e03b9e2a.tar.zst |
fix progress guide location breakpoints (#7887)
Diffstat (limited to 'src/view/com/posts/PostFeed.tsx')
-rw-r--r-- | src/view/com/posts/PostFeed.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/view/com/posts/PostFeed.tsx b/src/view/com/posts/PostFeed.tsx index 8ad97e2c1..79578ad6b 100644 --- a/src/view/com/posts/PostFeed.tsx +++ b/src/view/com/posts/PostFeed.tsx @@ -16,7 +16,6 @@ import {useQueryClient} from '@tanstack/react-query' import {DISCOVER_FEED_URI, KNOWN_SHUTDOWN_FEEDS} from '#/lib/constants' import {useInitialNumToRender} from '#/lib/hooks/useInitialNumToRender' -import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries' import {logEvent} from '#/lib/statsig/statsig' import {logger} from '#/logger' import {isIOS, isNative, isWeb} from '#/platform/detection' @@ -300,9 +299,9 @@ let PostFeed = ({ const followProgressGuide = useProgressGuide('follow-10') const followAndLikeProgressGuide = useProgressGuide('like-10-and-follow-7') - const {isDesktop} = useWebMediaQueries() + const showProgressIntersitial = - (followProgressGuide || followAndLikeProgressGuide) && !isDesktop + (followProgressGuide || followAndLikeProgressGuide) && !rightNavVisible const {trendingDisabled, trendingVideoDisabled} = useTrendingSettings() |