fix social-app ios patch feed
This commit is contained in:
19
ios/patching/034-social-app-ios-home-header-no-feeds.patch
Normal file
19
ios/patching/034-social-app-ios-home-header-no-feeds.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff --git a/src/view/com/home/HomeHeader.tsx b/src/view/com/home/HomeHeader.tsx
|
||||
index 4a2cf881f..0dd8547f7 100644
|
||||
--- a/src/view/com/home/HomeHeader.tsx
|
||||
+++ b/src/view/com/home/HomeHeader.tsx
|
||||
@@ -28,12 +28,8 @@ export function HomeHeader(
|
||||
}, [feeds, hasSession])
|
||||
|
||||
const items = React.useMemo(() => {
|
||||
- const pinnedNames = feeds.map(f => f.displayName)
|
||||
- if (!hasPinnedCustom) {
|
||||
- return pinnedNames.concat('Feeds ✨')
|
||||
- }
|
||||
- return pinnedNames
|
||||
- }, [hasPinnedCustom, feeds])
|
||||
+ return ['Following']
|
||||
+ }, [])
|
||||
|
||||
const onPressFeedsLink = React.useCallback(() => {
|
||||
navigation.navigate('Feeds')
|
||||
Reference in New Issue
Block a user