Update web header and search
This commit is contained in:
parent
c5f28376c8
commit
e828f380e7
8 changed files with 291 additions and 144 deletions
|
@ -11,6 +11,7 @@ import {ScreenParams} from '../routes'
|
|||
import {s} from 'lib/styles'
|
||||
import {useOnMainScroll} from 'lib/hooks/useOnMainScroll'
|
||||
import {useAnalytics} from 'lib/analytics'
|
||||
import {isWeb} from 'platform/detection'
|
||||
|
||||
const HEADER_HEIGHT = 42
|
||||
|
||||
|
@ -91,6 +92,7 @@ export const Home = observer(function Home({navIdx, visible}: ScreenParams) {
|
|||
|
||||
return (
|
||||
<View style={s.h100pct}>
|
||||
{isWeb && <ViewHeader title="Home Feed" canGoBack={false} />}
|
||||
<Feed
|
||||
testID="homeFeed"
|
||||
key="default"
|
||||
|
@ -102,7 +104,7 @@ export const Home = observer(function Home({navIdx, visible}: ScreenParams) {
|
|||
onScroll={onMainScroll}
|
||||
headerOffset={HEADER_HEIGHT}
|
||||
/>
|
||||
<ViewHeader title="Bluesky" canGoBack={false} hideOnScroll />
|
||||
{!isWeb && <ViewHeader title="Bluesky" canGoBack={false} hideOnScroll />}
|
||||
{store.me.mainFeed.hasNewLatest && !store.me.mainFeed.isRefreshing && (
|
||||
<LoadLatestBtn onPress={onPressLoadLatest} />
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue