Usability improvements to feeds

This commit is contained in:
Paul Frazee 2023-05-17 21:23:32 -05:00
parent f0003d1931
commit 6bf8e72157
8 changed files with 120 additions and 142 deletions

View file

@ -28,12 +28,8 @@ const FeedsTabBarDesktop = observer(
) => {
const store = useStores()
const items = useMemo(
() => [
'Following',
"What's hot",
...store.me.savedFeeds.listOfPinnedFeedNames,
],
[store.me.savedFeeds.listOfPinnedFeedNames],
() => ['Following', "What's hot", ...store.me.savedFeeds.pinnedFeedNames],
[store.me.savedFeeds.pinnedFeedNames],
)
const pal = usePalette('default')
const interp = useAnimatedValue(0)

View file

@ -36,10 +36,10 @@ export const FeedsTabBar = observer(
() => [
'Following',
"What's hot",
...store.me.savedFeeds.listOfPinnedFeedNames,
...store.me.savedFeeds.pinnedFeedNames,
'My feeds',
],
[store.me.savedFeeds.listOfPinnedFeedNames],
[store.me.savedFeeds.pinnedFeedNames],
)
return (