diff --git a/components/Artist/component.tsx b/components/Artist/component.tsx index 2983d355..050e2a92 100644 --- a/components/Artist/component.tsx +++ b/components/Artist/component.tsx @@ -9,6 +9,10 @@ import { NativeStackNavigationProp } from "@react-navigation/native-stack"; import { StackParamList } from "../types"; import { H4, H5 } from "../Global/text"; import { useState } from "react"; +import { CachedImage } from "@georstat/react-native-image-cache"; +import { ImageType } from "@jellyfin/sdk/lib/generated-client/models"; +import { queryConfig } from "@/api/queries/query.config"; +import { getImageApi } from "@jellyfin/sdk/lib/utils/api"; interface ArtistProps { artistId: string, @@ -25,41 +29,48 @@ export default function Artist(props: ArtistProps): React.JSX.Element { const { data: albums } = useArtistAlbums(props.artistId, apiClient!); return ( - - - + + -

Albums

- { - return ( - { - props.navigation.navigate('Album', { - album - }) - }} - /> - ) - }} - /> -
-
+

Albums

+ { + return ( + { + props.navigation.navigate('Album', { + album + }) + }} + /> + ) + }} + /> + ) } \ No newline at end of file diff --git a/components/Player/mini-player.tsx b/components/Player/mini-player.tsx index dcc4be05..ce2a9323 100644 --- a/components/Player/mini-player.tsx +++ b/components/Player/mini-player.tsx @@ -33,7 +33,9 @@ export function Miniplayer({ navigation }: { navigation : NavigationHelpers navigation.navigate("Player")} > - +