diff --git a/ui/src/audioplayer/AudioTitle.js b/ui/src/audioplayer/AudioTitle.js index 39c2389db..bf509c668 100644 --- a/ui/src/audioplayer/AudioTitle.js +++ b/ui/src/audioplayer/AudioTitle.js @@ -27,21 +27,22 @@ const AudioTitle = React.memo(({ audioInfo, isMobile }) => { )} - {!isMobile && ( - - {`${song.artist} - ${song.album}` + - (song.year ? ` - ${song.year}` : '')} - - )} - {isMobile && ( + {isMobile ? ( <> - - {`${song.artist}`} + + {song.artist} - {song.year ? `${song.album} - ${song.year}` : `${song.album}`} + {song.album} + {song.year ? ` - ${song.year}` : ''} + ) : ( + + {song.artist} -{' '} + {song.album} + {song.year ? ` - ${song.year}` : ''} + )} )