Skip to content

Commit

Permalink
fix: only show lyrics area when song has lrc
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenOutman committed Jan 4, 2023
1 parent 4ee538c commit f4dab6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ export function APlayer({

return (
<div
className={cx("aplayer aplayer-withlrc", {
className={cx("aplayer", {
"aplayer-loading": audioControl.isLoading,
"aplayer-withlist": hasPlaylist,
"aplayer-withlrc": Boolean(playlist.currentSong.lrc),
})}
>
<div className="aplayer-body">
Expand Down

0 comments on commit f4dab6b

Please sign in to comment.