From aba64b10d0f9e908eb4fc824b1df36c28ef1f2f4 Mon Sep 17 00:00:00 2001 From: Hans Yulian <10959546+hansyulian@users.noreply.github.com> Date: Mon, 9 Jun 2025 16:02:03 +0700 Subject: [PATCH] Feature: Shuffle Button (#941) --- .../search/components/library-command-item.tsx | 16 ++++++++++++++++ src/renderer/features/shared/utils.ts | 4 ++++ .../sidebar/components/sidebar-playlist-list.tsx | 16 ++++++++++++++++ .../components/song-list-header-filters.tsx | 7 +++++++ 4 files changed, 43 insertions(+) diff --git a/src/renderer/features/search/components/library-command-item.tsx b/src/renderer/features/search/components/library-command-item.tsx index f408af4f..c497e159 100644 --- a/src/renderer/features/search/components/library-command-item.tsx +++ b/src/renderer/features/search/components/library-command-item.tsx @@ -7,6 +7,7 @@ import { RiAlbumFill, RiPlayFill, RiPlayListFill, + RiShuffleFill, RiUserVoiceFill, } from 'react-icons/ri'; import styled from 'styled-components'; @@ -168,6 +169,21 @@ export const LibraryCommandItem = ({ > + {itemType !== LibraryItem.SONG && ( + + )} +