From 42f46311432d9c0ff6508dd292fba2ea1bddde3a Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Sun, 25 Aug 2024 11:17:05 +0200 Subject: [PATCH] fix: don't show text unknown --- components/CurrentlyPlayingBar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/CurrentlyPlayingBar.tsx b/components/CurrentlyPlayingBar.tsx index 67527113..bc05677f 100644 --- a/components/CurrentlyPlayingBar.tsx +++ b/components/CurrentlyPlayingBar.tsx @@ -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) =>