about summary refs log tree commit diff
path: root/src/screens/Search/Shell.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-04-04 10:30:12 -0500
committerGitHub <noreply@github.com>2025-04-04 08:30:12 -0700
commit94bc677ef5ffdf69fd952de41a59d8b5aac9a360 (patch)
treeb2482a3ad719a1d5dac7e2f3b03673ff12da57d1 /src/screens/Search/Shell.tsx
parent148bfa803d3116dfaf6513ca947e585d8d3bfc78 (diff)
downloadvoidsky-94bc677ef5ffdf69fd952de41a59d8b5aac9a360.tar.zst
Rename search to explore in titles and links (#8116)
* Rename search to explore in titles and links

* Conditionally use Explore
Diffstat (limited to 'src/screens/Search/Shell.tsx')
-rw-r--r--src/screens/Search/Shell.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screens/Search/Shell.tsx b/src/screens/Search/Shell.tsx
index e930b8289..e48f3d455 100644
--- a/src/screens/Search/Shell.tsx
+++ b/src/screens/Search/Shell.tsx
@@ -55,12 +55,14 @@ export function SearchScreenShell({
   fixedParams,
   navButton = 'menu',
   inputPlaceholder,
+  isExplore,
 }: {
   queryParam: string
   testID: string
   fixedParams?: Params
   navButton?: 'back' | 'menu'
   inputPlaceholder?: string
+  isExplore?: boolean
 }) {
   const t = useTheme()
   const {gtMobile} = useBreakpoints()
@@ -302,7 +304,7 @@ export function SearchScreenShell({
                 )}
                 <Layout.Header.Content align="left">
                   <Layout.Header.TitleText>
-                    <Trans>Search</Trans>
+                    {isExplore ? <Trans>Explore</Trans> : <Trans>Search</Trans>}
                   </Layout.Header.TitleText>
                 </Layout.Header.Content>
                 {showFilters ? (