mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-27 06:08:38 -06:00
I think this will do it
plus adding padding
This commit is contained in:
@@ -54,20 +54,26 @@ export default function ServerAddress(): React.JSX.Element {
|
||||
|
||||
return (
|
||||
<View flex={1} justifyContent='center'>
|
||||
<Paragraph fontSize={20} fontWeight={800}>Connect to Jellyfin</Paragraph>
|
||||
<Paragraph
|
||||
paddingVertical={30}
|
||||
fontSize={20}
|
||||
fontWeight={800}>
|
||||
Connect to Jellyfin
|
||||
</Paragraph>
|
||||
<XStack>
|
||||
<SwitchWithLabel
|
||||
checked={useHttps}
|
||||
onCheckedChange={(checked) => setUseHttps(checked)}
|
||||
label="HTTPS"
|
||||
size="$2"
|
||||
width={100} />
|
||||
width={150} />
|
||||
<Input
|
||||
flexGrow={1}
|
||||
placeholder="jellyfin.org"
|
||||
onChangeText={setServerAddress} />
|
||||
</XStack>
|
||||
<Button
|
||||
paddingVertical={30}
|
||||
onPress={() => {
|
||||
useServerMutation.mutate(`${useHttps ? "https" : "http"}://${serverAddress}`);
|
||||
}}>
|
||||
|
||||
Reference in New Issue
Block a user