about summary refs log tree commit diff
path: root/src/view/com/pager/FeedsTabBarMobile.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-29 17:37:15 -0800
committerPaul Frazee <pfrazee@gmail.com>2023-11-29 17:37:15 -0800
commit1140b05b835d8487b24d4b83ad932f46fa00c2d9 (patch)
tree567382e9515aedfb84440767a6d9fbab6a2d1bbb /src/view/com/pager/FeedsTabBarMobile.tsx
parent4c7b9652dbe858d5357d4e983c110c84c9e5a46e (diff)
downloadvoidsky-1140b05b835d8487b24d4b83ad932f46fa00c2d9.tar.zst
Slightly less verbose variable
Diffstat (limited to 'src/view/com/pager/FeedsTabBarMobile.tsx')
-rw-r--r--src/view/com/pager/FeedsTabBarMobile.tsx4
1 files changed, 2 insertions, 2 deletions
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