saved feeds in tab bar

This commit is contained in:
Ansh Nanda 2023-05-15 11:00:54 -07:00
parent 5010861160
commit d7e39bde12
5 changed files with 50 additions and 22 deletions

View file

@ -112,6 +112,17 @@ export const HomeScreen = withAuthRequired(
feed={algoFeed}
renderEmptyState={renderWhatsHotEmptyState}
/>
{store.me.savedFeeds.feeds.map((f, index) => {
return (
<FeedPage
key={String(2 + index + 1)}
testID="customFeed"
isPageFocused={selectedPage === 2 + index}
feed={new PostsFeedModel(store, 'custom', {feed: f.getUri})}
renderEmptyState={renderFollowingEmptyState}
/>
)
})}
</Pager>
)
}),

View file

@ -295,7 +295,7 @@ export const SettingsScreen = withAuthRequired(
style={[styles.linkCard, pal.view, isSwitching && styles.dimmed]}
accessibilityHint="Custom Algorithms"
accessibilityLabel="Opens screen with all bookmarked custom algorithms"
href="/settings/custom-algorithms">
href="/settings/saved-feeds">
<View style={[styles.iconContainer, pal.btn]}>
<FontAwesomeIcon
icon="rss"