diff --git a/src/screens/Music/overlays/NowPlaying/index.tsx b/src/screens/Music/overlays/NowPlaying/index.tsx index bd895a93..19b65ff3 100644 --- a/src/screens/Music/overlays/NowPlaying/index.tsx +++ b/src/screens/Music/overlays/NowPlaying/index.tsx @@ -159,9 +159,11 @@ function NowPlaying() { {track.title} - - {track.artist}{track.album ? ` — ${track.album}` : ''} - + {(track.artist || track.album) && ( + + {track.artist}{track.album ? ` — ${track.album}` : ''} + + )} diff --git a/src/screens/Search/index.tsx b/src/screens/Search/index.tsx index 99e6b742..ddfa96d1 100644 --- a/src/screens/Search/index.tsx +++ b/src/screens/Search/index.tsx @@ -295,12 +295,14 @@ export default function Search() { {trackName || album.Name} - - {type === 'AlbumArtist' - ? `${t('album')} • ${album.AlbumArtist}` - : `${t('track')} • ${album.AlbumArtist} — ${album.Name}` - } - + {(album.AlbumArtist || album.Name) && ( + + {type === 'AlbumArtist' + ? `${t('album')} • ${album.AlbumArtist}` + : `${t('track')} • ${album.AlbumArtist} — ${album.Name}` + } + + )} diff --git a/src/screens/modals/Player/components/Queue.tsx b/src/screens/modals/Player/components/Queue.tsx index 4ac9dde9..f450b212 100644 --- a/src/screens/modals/Player/components/Queue.tsx +++ b/src/screens/modals/Player/components/Queue.tsx @@ -142,12 +142,14 @@ export default function Queue({ header }: Props) { > {track.title} - - {track.artist}{track.album && ' — ' + track.album} - + {(track.artist || track.album) && ( + + {track.artist}{track.album && ' — ' + track.album} + + )}