fix
This commit is contained in:
@@ -1,3 +1,46 @@
|
||||
diff --git a/src/view/com/posts/DiscoverFallbackHeader.tsx b/src/view/com/posts/DiscoverFallbackHeader.tsx
|
||||
index e35a33aaf..a36f84ae0 100644
|
||||
--- a/src/view/com/posts/DiscoverFallbackHeader.tsx
|
||||
+++ b/src/view/com/posts/DiscoverFallbackHeader.tsx
|
||||
@@ -7,37 +7,5 @@ import {TextLink} from '../util/Link'
|
||||
import {Text} from '../util/text/Text'
|
||||
|
||||
export function DiscoverFallbackHeader() {
|
||||
- const pal = usePalette('default')
|
||||
- return (
|
||||
- <View
|
||||
- style={[
|
||||
- {
|
||||
- flexDirection: 'row',
|
||||
- alignItems: 'center',
|
||||
- paddingVertical: 12,
|
||||
- paddingHorizontal: 12,
|
||||
- borderTopWidth: 1,
|
||||
- },
|
||||
- pal.border,
|
||||
- pal.viewLight,
|
||||
- ]}>
|
||||
- <View style={{width: 68, paddingLeft: 12}}>
|
||||
- <InfoCircleIcon size={36} style={pal.textLight} strokeWidth={1.5} />
|
||||
- </View>
|
||||
- <View style={{flex: 1}}>
|
||||
- <Text type="md" style={pal.text}>
|
||||
- <Trans>
|
||||
- We ran out of posts from your follows. Here's the latest from{' '}
|
||||
- <TextLink
|
||||
- type="md-medium"
|
||||
- href="/profile/bsky.app/feed/whats-hot"
|
||||
- text="Discover"
|
||||
- style={pal.link}
|
||||
- />
|
||||
- .
|
||||
- </Trans>
|
||||
- </Text>
|
||||
- </View>
|
||||
- </View>
|
||||
- )
|
||||
+ return null
|
||||
}
|
||||
diff --git a/src/view/com/posts/FollowingEmptyState.tsx b/src/view/com/posts/FollowingEmptyState.tsx
|
||||
index 352cc1dc0..f477521af 100644
|
||||
--- a/src/view/com/posts/FollowingEmptyState.tsx
|
||||
@@ -189,3 +232,16 @@ index e3c84d782..efb55d406 100644
|
||||
- borderRadius: 30,
|
||||
- },
|
||||
})
|
||||
diff --git a/src/view/com/posts/PostFeed.tsx b/src/view/com/posts/PostFeed.tsx
|
||||
index 4f25468c9..a72a10b80 100644
|
||||
--- a/src/view/com/posts/PostFeed.tsx
|
||||
+++ b/src/view/com/posts/PostFeed.tsx
|
||||
@@ -766,7 +766,7 @@ let PostFeed = ({
|
||||
} else if (row.type === 'feedShutdownMsg') {
|
||||
return <FeedShutdownMsg feedUri={feedUriOrActorDid} />
|
||||
} else if (row.type === 'interstitialFollows') {
|
||||
- return <SuggestedFollows feed={feed} />
|
||||
+ return null
|
||||
} else if (row.type === 'interstitialProgressGuide') {
|
||||
return <ProgressGuide />
|
||||
} else if (row.type === 'ageAssuranceBanner') {
|
||||
|
||||
Reference in New Issue
Block a user