diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index 7d7b4098f8..efd8507a7e 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -304,7 +304,8 @@ function SearchScreenUserResults({query}: {query: string}) { ) } -const SECTIONS = ['Posts', 'Users'] +const SECTIONS_LOGGEDOUT = ['Users'] +const SECTIONS_LOGGEDIN = ['Posts', 'Users'] export function SearchScreenInner({query}: {query?: string}) { const pal = usePalette('default') const setMinimalShellMode = useSetMinimalShellMode() @@ -320,44 +321,62 @@ export function SearchScreenInner({query}: {query?: string}) { [setDrawerSwipeDisabled, setMinimalShellMode], ) + if (hasSession) { + return query ? ( + ( + + + + )} + initialPage={0}> + + + + + + + + ) : ( + + + + Suggested Follows + + + + + + ) + } + return query ? ( ( - + )} initialPage={0}> - - - - ) : hasSession ? ( - - - - Suggested Follows - - - - - ) : ( )} - - Search for posts and users. - + + + + {isDesktop ? ( + Find users with the search tool on the right + ) : ( + Find users on Bluesky + )} + + )