diff options
Diffstat (limited to 'src/view/com/pager')
-rw-r--r-- | src/view/com/pager/FeedsTabBar.web.tsx | 4 | ||||
-rw-r--r-- | src/view/com/pager/FeedsTabBarMobile.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/pager/FeedsTabBar.web.tsx b/src/view/com/pager/FeedsTabBar.web.tsx index 2445d4523..57c83f17c 100644 --- a/src/view/com/pager/FeedsTabBar.web.tsx +++ b/src/view/com/pager/FeedsTabBar.web.tsx @@ -82,14 +82,14 @@ function FeedsTabBarPublic() { function FeedsTabBarTablet( props: RenderTabBarFnProps & {testID?: string; onPressSelected: () => void}, ) { - const {feeds, hasPinnedCustomFeedOrList} = usePinnedFeedsInfos() + const {feeds, hasPinnedCustom} = usePinnedFeedsInfos() const pal = usePalette('default') const {hasSession} = useSession() const navigation = useNavigation<NavigationProp>() const {headerMinimalShellTransform} = useMinimalShellMode() const {headerHeight} = useShellLayout() const pinnedDisplayNames = hasSession ? feeds.map(f => f.displayName) : [] - const showFeedsLinkInTabBar = hasSession && !hasPinnedCustomFeedOrList + const showFeedsLinkInTabBar = hasSession && !hasPinnedCustom const items = showFeedsLinkInTabBar ? pinnedDisplayNames.concat('Feeds ✨') : pinnedDisplayNames diff --git a/src/view/com/pager/FeedsTabBarMobile.tsx b/src/view/com/pager/FeedsTabBarMobile.tsx index fc9eb8f14..882b6cfc5 100644 --- a/src/view/com/pager/FeedsTabBarMobile.tsx +++ b/src/view/com/pager/FeedsTabBarMobile.tsx @@ -30,12 +30,12 @@ export function FeedsTabBar( const {_} = useLingui() const setDrawerOpen = useSetDrawerOpen() const navigation = useNavigation<NavigationProp>() - const {feeds, hasPinnedCustomFeedOrList} = usePinnedFeedsInfos() + const {feeds, hasPinnedCustom} = usePinnedFeedsInfos() const brandBlue = useColorSchemeStyle(s.brandBlue, s.blue3) const {headerHeight} = useShellLayout() const {headerMinimalShellTransform} = useMinimalShellMode() const pinnedDisplayNames = hasSession ? feeds.map(f => f.displayName) : [] - const showFeedsLinkInTabBar = hasSession && !hasPinnedCustomFeedOrList + const showFeedsLinkInTabBar = hasSession && !hasPinnedCustom const items = showFeedsLinkInTabBar ? pinnedDisplayNames.concat('Feeds ✨') : pinnedDisplayNames |