mirror of
https://github.com/Jellify-Music/App.git
synced 2026-03-06 11:10:16 -06:00
for now?
This commit is contained in:
@@ -77,6 +77,7 @@ export default function ServerAddress(): React.JSX.Element {
|
||||
value={serverAddress}
|
||||
placeholder="jellyfin.org"
|
||||
onChangeText={setServerAddress}
|
||||
flexGrow
|
||||
/>
|
||||
</XStack>
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ export default function ServerAuthentication(): React.JSX.Element {
|
||||
Switch Server
|
||||
</Button>
|
||||
|
||||
<YStack flex={1}>
|
||||
<YStack>
|
||||
<Input
|
||||
placeholder="Username"
|
||||
value={username}
|
||||
|
||||
@@ -7,6 +7,7 @@ interface InputProps {
|
||||
placeholder: string
|
||||
value: string | undefined;
|
||||
secureTextEntry?: boolean | undefined;
|
||||
flexGrow?: boolean | undefined
|
||||
}
|
||||
|
||||
export default function Input(props: InputProps): React.JSX.Element {
|
||||
@@ -16,7 +17,7 @@ export default function Input(props: InputProps): React.JSX.Element {
|
||||
placeholder={props.placeholder}
|
||||
onChangeText={props.onChangeText}
|
||||
value={props.value}
|
||||
flexGrow={1}
|
||||
flexGrow={props.flexGrow ? 1 : "unset"}
|
||||
secureTextEntry={props.secureTextEntry}
|
||||
/>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user