make sure TabBar re-rerenders when pinned feeds changes
parent
3501fda015
commit
1378ab46e9
|
@ -58,6 +58,7 @@ const FeedsTabBarDesktop = observer(
|
|||
<Animated.View style={[pal.view, styles.tabBar, transform]}>
|
||||
<TabBar
|
||||
{...props}
|
||||
key={items.join(',')}
|
||||
items={items}
|
||||
indicatorPosition="bottom"
|
||||
indicatorColor={pal.colors.link}
|
||||
|
|
|
@ -53,7 +53,7 @@ export const FeedsTabBar = observer(
|
|||
<UserAvatar avatar={store.me.avatar} size={30} />
|
||||
</TouchableOpacity>
|
||||
<TabBar
|
||||
key={store.me.savedFeeds.listOfPinnedFeedNames.join(',')}
|
||||
key={items.join(',')}
|
||||
{...props}
|
||||
items={items}
|
||||
indicatorPosition="bottom"
|
||||
|
|
Loading…
Reference in New Issue