diff --git a/app/(auth)/(tabs)/(search)/_layout.tsx b/app/(auth)/(tabs)/(search)/_layout.tsx
index b031908e..ce787316 100644
--- a/app/(auth)/(tabs)/(search)/_layout.tsx
+++ b/app/(auth)/(tabs)/(search)/_layout.tsx
@@ -38,9 +38,18 @@ export default function SearchLayout() {
}}
/>
-
-
-
+
+
+
);
}
diff --git a/app/(auth)/(tabs)/(search)/index.tsx b/app/(auth)/(tabs)/(search)/index.tsx
index ccb90cb6..157e336f 100644
--- a/app/(auth)/(tabs)/(search)/index.tsx
+++ b/app/(auth)/(tabs)/(search)/index.tsx
@@ -50,7 +50,7 @@ export default function search() {
const { t } = useTranslation();
- const { q, prev } = params as { q: string; prev: Href };
+ const { q } = params as { q: string };
const [searchType, setSearchType] = useState("Library");
const [search, setSearch] = useState("");
@@ -122,18 +122,17 @@ export default function search() {
const navigation = useNavigation();
useLayoutEffect(() => {
- if (Platform.OS === "ios")
- navigation.setOptions({
- headerSearchBarOptions: {
- placeholder: t("search.search"),
- onChangeText: (e: any) => {
- router.setParams({ q: "" });
- setSearch(e.nativeEvent.text);
- },
- hideWhenScrolling: false,
- autoFocus: true,
+ navigation.setOptions({
+ headerSearchBarOptions: {
+ placeholder: t("search.search"),
+ onChangeText: (e: any) => {
+ router.setParams({ q: "" });
+ setSearch(e.nativeEvent.text);
},
- });
+ hideWhenScrolling: true,
+ autoFocus: true,
+ },
+ });
}, [navigation]);
const { data: movies, isFetching: l1 } = useQuery({
@@ -211,18 +210,6 @@ export default function search() {
}}
>
- {Platform.OS === "android" && (
-
- setSearch(text)}
- />
-
- )}
{jellyseerrApi && (
setSearchType("Library")}>