refactor shuffle all modal for styles and loading state

This commit is contained in:
jeffvli
2025-11-26 14:58:10 -08:00
parent 6a8e55ce15
commit ffa9d165f2
8 changed files with 229 additions and 181 deletions
@@ -3,7 +3,7 @@ import { useTranslation } from 'react-i18next';
import styles from './mobile-fullscreen-player.module.css';
import { PlayButton, PlayerButton } from '/@/renderer/features/player/components/player-button';
import { MainPlayButton, PlayerButton } from '/@/renderer/features/player/components/player-button';
import { usePlayer } from '/@/renderer/features/player/context/player-context';
import { usePlayerStatus } from '/@/renderer/store';
import { Icon } from '/@/shared/components/icon/icon';
@@ -50,7 +50,7 @@ export const MobileFullscreenPlayerControls = memo(
}}
variant="tertiary"
/>
<PlayButton
<MainPlayButton
disabled={currentSongId === undefined}
isPaused={status === PlayerStatus.PAUSED}
onClick={mediaTogglePlayPause}