Wrap interstitials with BlockDrawerGesture
This commit is contained in:
@@ -9,6 +9,7 @@ import {makeCustomFeedLink} from '#/lib/routes/links'
|
|||||||
import {logEvent} from '#/lib/statsig/statsig'
|
import {logEvent} from '#/lib/statsig/statsig'
|
||||||
import {useTrendingSettingsApi} from '#/state/preferences/trending'
|
import {useTrendingSettingsApi} from '#/state/preferences/trending'
|
||||||
import {usePostFeedQuery} from '#/state/queries/post-feed'
|
import {usePostFeedQuery} from '#/state/queries/post-feed'
|
||||||
|
import {BlockDrawerGesture} from '#/view/shell/BlockDrawerGesture'
|
||||||
import {atoms as a, useGutters, useTheme} from '#/alf'
|
import {atoms as a, useGutters, useTheme} from '#/alf'
|
||||||
import {Button, ButtonIcon} from '#/components/Button'
|
import {Button, ButtonIcon} from '#/components/Button'
|
||||||
import {ChevronRight_Stroke2_Corner0_Rounded as ChevronRight} from '#/components/icons/Chevron'
|
import {ChevronRight_Stroke2_Corner0_Rounded as ChevronRight} from '#/components/icons/Chevron'
|
||||||
@@ -75,6 +76,7 @@ export function TrendingVideos() {
|
|||||||
</Button>
|
</Button>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
<BlockDrawerGesture>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
horizontal
|
horizontal
|
||||||
showsHorizontalScrollIndicator={false}
|
showsHorizontalScrollIndicator={false}
|
||||||
@@ -106,6 +108,7 @@ export function TrendingVideos() {
|
|||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
</BlockDrawerGesture>
|
||||||
|
|
||||||
<Prompt.Basic
|
<Prompt.Basic
|
||||||
control={trendingPrompt}
|
control={trendingPrompt}
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import {isWeb} from '#/platform/detection'
|
|||||||
import {useSavedFeeds} from '#/state/queries/feed'
|
import {useSavedFeeds} from '#/state/queries/feed'
|
||||||
import {usePostFeedQuery} from '#/state/queries/post-feed'
|
import {usePostFeedQuery} from '#/state/queries/post-feed'
|
||||||
import {useAddSavedFeedsMutation} from '#/state/queries/preferences'
|
import {useAddSavedFeedsMutation} from '#/state/queries/preferences'
|
||||||
|
import {BlockDrawerGesture} from '#/view/shell/BlockDrawerGesture'
|
||||||
import {atoms as a, tokens, useGutters, useTheme} from '#/alf'
|
import {atoms as a, tokens, useGutters, useTheme} from '#/alf'
|
||||||
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
|
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
|
||||||
import {GradientFill} from '#/components/GradientFill'
|
import {GradientFill} from '#/components/GradientFill'
|
||||||
@@ -95,6 +96,7 @@ export function ExploreTrendingVideos() {
|
|||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
<BlockDrawerGesture>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
horizontal
|
horizontal
|
||||||
showsHorizontalScrollIndicator={false}
|
showsHorizontalScrollIndicator={false}
|
||||||
@@ -127,6 +129,7 @@ export function ExploreTrendingVideos() {
|
|||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
</BlockDrawerGesture>
|
||||||
|
|
||||||
{!isSavedAlready && (
|
{!isSavedAlready && (
|
||||||
<View
|
<View
|
||||||
|
|||||||
Reference in New Issue
Block a user