mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-08 04:19:34 -05:00
adding ability to switch user on library selection screen
adding backend to support loading libraries
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { H1, ScrollView, YStack } from "tamagui";
|
||||
import { useApiClientContext } from "../jellyfin-api-provider";
|
||||
import _ from "lodash";
|
||||
|
||||
|
||||
export default function Home(): React.JSX.Element {
|
||||
|
||||
const { apiClient, username } = useApiClientContext();
|
||||
|
||||
return (
|
||||
<ScrollView paddingLeft={10}>
|
||||
<YStack alignContent='flex-start'>
|
||||
<H1>Hi { _.isUndefined(username) ? "there" : `, ${username}`}</H1>
|
||||
</YStack>
|
||||
</ScrollView>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user