From 671d034b9fc58f04a91f537aeaa915c08bbc88ce Mon Sep 17 00:00:00 2001 From: JSC Date: Mon, 4 Aug 2025 10:28:01 +0200 Subject: [PATCH] feat: update Player component with new icons and adjust layout padding --- src/components/player/Player.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/player/Player.tsx b/src/components/player/Player.tsx index d8443dd..c97fedb 100644 --- a/src/components/player/Player.tsx +++ b/src/components/player/Player.tsx @@ -22,7 +22,9 @@ import { Music, ExternalLink, Download, - MoreVertical + MoreVertical, + ArrowRight, + ArrowRightToLine } from 'lucide-react' import { playerService, type PlayerState, type PlayerMode } from '@/lib/api/services/player' import { filesService } from '@/lib/api/services/files' @@ -156,6 +158,8 @@ export function Player({ className }: PlayerProps) { const getModeIcon = () => { switch (state.mode) { + case 'continuous': + return case 'loop': return case 'loop_one': @@ -163,7 +167,7 @@ export function Player({ className }: PlayerProps) { case 'random': return default: - return + return } } @@ -179,7 +183,7 @@ export function Player({ className }: PlayerProps) { } const renderMinimizedPlayer = () => ( - +