diff --git a/src/screens/Search/Shell.tsx b/src/screens/Search/Shell.tsx index 622d37f940..5c61cadcde 100644 --- a/src/screens/Search/Shell.tsx +++ b/src/screens/Search/Shell.tsx @@ -12,6 +12,7 @@ import { View, type ViewStyle, } from 'react-native' +import Animated, {FadeInUp, FadeOutDown} from 'react-native-reanimated' import {Trans, useLingui} from '@lingui/react/macro' import {useFocusEffect, useNavigation, useRoute} from '@react-navigation/native' import {useQueryClient} from '@tanstack/react-query' @@ -32,7 +33,7 @@ import { type Params, parseSearchQuery, } from '#/screens/Search/utils' -import {atoms as a, tokens, useBreakpoints, useTheme, web} from '#/alf' +import {atoms as a, native, tokens, useBreakpoints, useTheme, web} from '#/alf' import {Button, ButtonText} from '#/components/Button' import {SearchInput} from '#/components/forms/SearchInput' import * as Layout from '#/components/Layout' @@ -418,36 +419,7 @@ export function SearchScreenShell({ - - {searchText.length > 0 ? ( - - ) : ( - - )} - - + + + {showAutocomplete && !fixedParams && ( + + {searchText.length > 0 ? ( + + ) : ( + + )} + + )} )