diff --git a/components/Home/component.tsx b/components/Home/component.tsx index 61294d8a..9d195fbf 100644 --- a/components/Home/component.tsx +++ b/components/Home/component.tsx @@ -1,4 +1,4 @@ -import { H3, ScrollView, YStack } from "tamagui"; +import { H3, ScrollView, XStack, YStack } from "tamagui"; import _ from "lodash"; import RecentlyPlayed from "./helpers/recently-played"; import { useApiClientContext } from "../jellyfin-api-provider"; @@ -9,6 +9,7 @@ import { createNativeStackNavigator } from "@react-navigation/native-stack"; import { HomeStackParamList, ProvidedHomeProps } from "./types"; import { HomeArtistScreen } from "./screens/artist"; import { SafeAreaView } from "react-native-safe-area-context"; +import Avatar from "../Global/avatar"; export const HomeStack = createNativeStackNavigator(); @@ -64,7 +65,10 @@ function ProvidedHome({ route, navigation }: ProvidedHomeProps): React.JSX.Eleme /> }> -

{`Hi, ${user!.name}`}

+ + +

{`Hi, ${user!.name}`}

+
diff --git a/components/Home/helpers/recent-artists.tsx b/components/Home/helpers/recent-artists.tsx index dafd46e6..1e8817a1 100644 --- a/components/Home/helpers/recent-artists.tsx +++ b/components/Home/helpers/recent-artists.tsx @@ -24,8 +24,6 @@ export default function RecentArtists({ navigation }: ProvidedHomeProps): React. renderItem={({ item: recentArtist}) => { return ( { navigation.navigate('Artist',