mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-10 12:59:47 -06:00
idk
This commit is contained in:
@@ -21,21 +21,23 @@ export default function Player(): React.JSX.Element {
|
||||
{ nowPlaying && (
|
||||
<YStack alignItems="center">
|
||||
|
||||
<HStack alignItems="center">
|
||||
|
||||
<CachedImage
|
||||
source={getImageApi(apiClient!)
|
||||
.getItemImageUrlById(
|
||||
nowPlaying!.AlbumId,
|
||||
ImageType.Primary,
|
||||
{ ...queryConfig.playerArtwork }
|
||||
)
|
||||
}
|
||||
imageStyle={{
|
||||
width: 400,
|
||||
height: 400,
|
||||
borderRadius: 2
|
||||
}}
|
||||
/>
|
||||
<CachedImage
|
||||
source={getImageApi(apiClient!)
|
||||
.getItemImageUrlById(
|
||||
nowPlaying!.AlbumId,
|
||||
ImageType.Primary,
|
||||
{ ...queryConfig.playerArtwork }
|
||||
)
|
||||
}
|
||||
imageStyle={{
|
||||
width: 400,
|
||||
height: 400,
|
||||
borderRadius: 2
|
||||
}}
|
||||
/>
|
||||
</HStack>
|
||||
|
||||
<HStack>
|
||||
|
||||
|
||||
@@ -34,22 +34,23 @@ export function Miniplayer({ navigation }: { navigation : NavigationHelpers<Para
|
||||
height={"$6"}
|
||||
onPress={() => navigation.navigate("Player")}
|
||||
>
|
||||
<CachedImage
|
||||
source={getImageApi(apiClient!)
|
||||
.getItemImageUrlById(
|
||||
nowPlaying!.AlbumId,
|
||||
ImageType.Primary,
|
||||
{ ...queryConfig.images }
|
||||
)
|
||||
}
|
||||
imageStyle={{
|
||||
width: 60,
|
||||
height: 60,
|
||||
flex: 1,
|
||||
borderRadius: 2,
|
||||
}}
|
||||
/>
|
||||
<YStack justifyContent="flex-start" flex={1}>
|
||||
<CachedImage
|
||||
source={getImageApi(apiClient!)
|
||||
.getItemImageUrlById(
|
||||
nowPlaying!.AlbumId,
|
||||
ImageType.Primary,
|
||||
{ ...queryConfig.images }
|
||||
)
|
||||
}
|
||||
imageStyle={{
|
||||
width: 60,
|
||||
height: 60,
|
||||
borderRadius: 2,
|
||||
}}
|
||||
/>
|
||||
|
||||
</YStack>
|
||||
|
||||
|
||||
<YStack alignContent="flex-start" flex={4}>
|
||||
|
||||
Reference in New Issue
Block a user