From 81f7e66ab3d6b0a0a7c09dade9001811ba762625 Mon Sep 17 00:00:00 2001 From: vineyardbovines Date: Wed, 15 Jul 2026 15:45:14 -0400 Subject: [PATCH] use profile-only recents in native search list --- src/screens/Search/Shell.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screens/Search/Shell.tsx b/src/screens/Search/Shell.tsx index 7968c7d875..ad1986c79b 100644 --- a/src/screens/Search/Shell.tsx +++ b/src/screens/Search/Shell.tsx @@ -127,7 +127,7 @@ export function SearchScreenShell({ setSearchText(text) }, []) - const recents = useRecentSearchesSource() + const recents = useRecentSearchesSource({profilesOnly: true}) const {items: autocompleteItems, isFetching: isAutocompleteFetching} = useAutocomplete({ @@ -138,7 +138,7 @@ export function SearchScreenShell({ * query on web to keep the hook a no-op instead of doing wasted work. */ query: IS_NATIVE ? searchText : '', - sources: [recents], + sources: IS_NATIVE ? [recents] : undefined, }) const [showAutocomplete, setShowAutocomplete] = useState(false)