diff --git a/components/Login/helpers/server-address.tsx b/components/Login/helpers/server-address.tsx index 704709b9..33ee893d 100644 --- a/components/Login/helpers/server-address.tsx +++ b/components/Login/helpers/server-address.tsx @@ -61,7 +61,7 @@ export default function ServerAddress(): React.JSX.Element { Connect to Jellyfin - + setUseHttps(checked)} @@ -70,13 +70,11 @@ export default function ServerAddress(): React.JSX.Element { width={100} /> - - - diff --git a/components/helpers/input.tsx b/components/helpers/input.tsx index 8ad812cf..7213e5c2 100644 --- a/components/helpers/input.tsx +++ b/components/helpers/input.tsx @@ -7,7 +7,8 @@ interface InputProps { placeholder: string value: string | undefined; secureTextEntry?: boolean | undefined; - width?: number | undefined + width?: number | undefined; + flex?: number | "unset" | undefined; } export default function Input(props: InputProps): React.JSX.Element { @@ -18,6 +19,7 @@ export default function Input(props: InputProps): React.JSX.Element { onChangeText={props.onChangeText} value={props.value} width={props.width} + flex={props.flex} secureTextEntry={props.secureTextEntry} /> )