This commit is contained in:
Violet Caulfield
2024-10-15 15:48:07 -05:00
parent bc7dc6dad3
commit f56ad1b89e
2 changed files with 21 additions and 14 deletions

View File

@@ -9,7 +9,7 @@ export default function Login(): React.JSX.Element {
let { isError } = useServerUrl;
return (
<View useSafeArea>
<View useSafeArea marginH>
{ isError ? <ServerAddress /> : <ServerAuthentication /> }
</View>
);

View File

@@ -11,19 +11,25 @@ export default function ServerAuthentication(): React.JSX.Element {
return (
<>
<ActionBar
actions={[
{
label: 'Change Server',
onPress: () => console.log("change server requested")
},
{
label: "",
},
{
label: "",
}
]}/>
<View row>
<ActionBar
actions={[
{
label: 'Change Server',
onPress: () => console.log("change server requested")
},
{
label: "",
},
{
label: "",
}
]}
backgroundColor={isDarkMode ? 'black' : 'white'}
/>
</View>
<View row>
<Card flex center>
<Card.Section>
<TextField
@@ -47,6 +53,7 @@ export default function ServerAuthentication(): React.JSX.Element {
/>
</Card.Section>
</Card>
</View>
</>
);
}