fix: don't show text unknown

This commit is contained in:
Fredrik Burmester
2024-08-25 11:17:05 +02:00
parent 638e8851c1
commit 42f4631143

View File

@@ -169,17 +169,17 @@ export const CurrentlyPlayingBar: React.FC = () => {
metadata: {
artist: currentlyPlaying.item?.AlbumArtist
? currentlyPlaying.item?.AlbumArtist
: "Unknown",
: undefined,
title: currentlyPlaying.item?.Name
? currentlyPlaying.item?.Name
: "Unknown",
description: currentlyPlaying.item?.Overview
? currentlyPlaying.item?.Overview
: "Unknown",
: undefined,
imageUri: backdropUrl ? backdropUrl : undefined,
subtitle: currentlyPlaying.item?.Album
? currentlyPlaying.item?.Album
: "Unknown",
: undefined,
},
}}
onBuffer={(e) =>