mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2026-02-08 23:28:58 -06:00
fix album not always displaying
This commit is contained in:
@@ -79,7 +79,13 @@ export default function ItemDetail({
|
||||
>
|
||||
|
||||
<Image
|
||||
source={getImageApi(Client.api!).getItemImageUrlById(item.Id!)}
|
||||
source={getImageApi(Client.api!)
|
||||
.getItemImageUrlById(
|
||||
item.Type === 'Audio'
|
||||
? item.AlbumId!
|
||||
: item.Id!
|
||||
)
|
||||
}
|
||||
style={{
|
||||
width: width / 1.5,
|
||||
borderRadius: item.Type === "MusicArtist" ? width / 1.5 : getToken("$5")
|
||||
|
||||
Reference in New Issue
Block a user