feat: implement volume persistence and auto-play control in AudioPlayer and AudioPlayerContext

This commit is contained in:
2025-06-20 02:47:12 +00:00
committed by GitHub
parent 96a29f25dc
commit 6d6b1baa62
3 changed files with 39 additions and 14 deletions

View File

@@ -334,7 +334,7 @@ export const FullScreenPlayer: React.FC<FullScreenPlayerProps> = ({ isOpen, onCl
<h1 className="text-lg sm:text-xl lg:text-3xl font-bold text-foreground mb-2 line-clamp-2 leading-tight">
{currentTrack.name}
</h1>
<Link href={`/album${currentTrack.artistId}`} className="text-base sm:text-lg lg:text-xl text-foreground/80 mb-1 line-clamp-1">
<Link href={`/album/${currentTrack.artistId}`} className="text-base sm:text-lg lg:text-xl text-foreground/80 mb-1 line-clamp-1">
{currentTrack.artist}
</Link>
</div>