diff options
author | Eric Bailey <git@esb.lol> | 2024-06-11 13:08:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 11:08:06 -0700 |
commit | 4b6609d48b41cdc5be6fb957ea396e8aba18b1b6 (patch) | |
tree | 57a2bdf4fe7a088fb12a569945201b464e7208de /src/view/com/home/HomeHeader.tsx | |
parent | 3573f7ea40d41b8c416194da31fbbad092062679 (diff) | |
download | voidsky-4b6609d48b41cdc5be6fb957ea396e8aba18b1b6.tar.zst |
Move feeds screen into common navigator, handle usages (#4365)
* Move feeds screen into common navigator, handle usages * Add link to Feeds from home screen (#4366) * Add link to feeds to home screen header * Center logo * Replace icons * Tweak spacing * Tweak spacing * Swap icon, sizing * Buttonize, size * Make menu same alignment on all screens * Remove FeedsTab support, enable drawer swipe on MessagesTab * Add note * Vertically align header * Swap in Pin * Use hashtag icon * Remove png * Fix reference * Ensure alignment with home and other screens
Diffstat (limited to 'src/view/com/home/HomeHeader.tsx')
-rw-r--r-- | src/view/com/home/HomeHeader.tsx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/view/com/home/HomeHeader.tsx b/src/view/com/home/HomeHeader.tsx index b068484e8..b225efaa3 100644 --- a/src/view/com/home/HomeHeader.tsx +++ b/src/view/com/home/HomeHeader.tsx @@ -5,7 +5,6 @@ import {usePalette} from '#/lib/hooks/usePalette' import {FeedSourceInfo} from '#/state/queries/feed' import {useSession} from '#/state/session' import {NavigationProp} from 'lib/routes/types' -import {isWeb} from 'platform/detection' import {RenderTabBarFnProps} from 'view/com/pager/Pager' import {TabBar} from '../pager/TabBar' import {HomeHeaderLayout} from './HomeHeaderLayout' @@ -39,12 +38,7 @@ export function HomeHeader( }, [hasPinnedCustom, feeds]) const onPressFeedsLink = React.useCallback(() => { - if (isWeb) { - navigation.navigate('Feeds') - } else { - navigation.navigate('FeedsTab') - navigation.popToTop() - } + navigation.navigate('Feeds') }, [navigation]) const onSelect = React.useCallback( |