From c82f768374041bb4b34e89177453dae3e03b9e2a Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 4 Mar 2025 00:57:47 +0000 Subject: fix progress guide location breakpoints (#7887) --- src/view/com/posts/PostFeed.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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() -- cgit 1.4.1