containerization

coming to a mobile app near you!
This commit is contained in:
Violet Caulfield
2024-10-17 12:07:53 -05:00
parent c81954d23b
commit e7f8f282cc
2 changed files with 4 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ import { useMutation } from "@tanstack/react-query";
import { AsyncStorageKeys } from "../../../enums/async-storage-keys";
import { useApiClientContext } from "../../jellyfin-api-provider";
import { RadioGroup, RadioButton, TextField, View, Button, Card, Colors } from 'react-native-ui-lib';
import { jellifyStyles } from "../../styles";
export default function ServerAuthentication(): React.JSX.Element {
const [username, setUsername] = React.useState('');
@@ -23,14 +24,14 @@ export default function ServerAuthentication(): React.JSX.Element {
})
return (
<View>
<View style={jellifyStyles.container}>
<Button
label="Switch Server"
onPress={() => {
clearServer.mutate();
}}
backgroundColor={Colors.$iconDanger}
color={Colors.$textDefault}
color={Colors.$white}
/>
<TextField

View File

@@ -33,7 +33,7 @@ function conditionalHomeRender(): React.JSX.Element {
const { apiClient } = useApiClientContext();
return (
<View useSafeArea style={jellifyStyles.container}>
<View style={jellifyStyles.container}>
{ !_.isUndefined(apiClient) ? (
<Navigation />
) : (