fix: jellyseerr better login

This commit is contained in:
Fredrik Burmester
2025-02-19 11:36:47 +01:00
parent 0cf930d6e1
commit 77aef8877e
3 changed files with 61 additions and 71 deletions

View File

@@ -209,7 +209,12 @@ export default function search() {
paddingRight: insets.right,
}}
>
<View className="flex flex-col">
<View
className="flex flex-col"
style={{
marginTop: Platform.OS === "android" ? 16 : 0,
}}
>
{jellyseerrApi && (
<View className="flex flex-row flex-wrap space-x-2 px-4 mb-2">
<TouchableOpacity onPress={() => setSearchType("Library")}>

View File

@@ -317,7 +317,9 @@ const Login: React.FC = () => {
<Button
loading={loadingServerCheck}
disabled={loadingServerCheck}
onPress={async () => await handleConnect(serverURL)}
onPress={async () => {
await handleConnect(serverURL);
}}
className="w-full grow"
>
{t("server.connect_button")}