feat: implement swipe gesture controls for mobile audio player and enhance theme color handling

This commit is contained in:
2025-07-23 16:10:11 +00:00
committed by GitHub
parent abfe2bb3ef
commit abf29caacb
5 changed files with 63 additions and 19 deletions

View File

@@ -1,9 +1,10 @@
'use client';
import React, { useState, useEffect, useMemo, useCallback } from 'react';
import { Song } from '@/lib/navidrome';
import { Song, Album } from '@/lib/navidrome';
import { useNavidrome } from '@/app/components/NavidromeContext';
import { useAudioPlayer } from '@/app/components/AudioPlayerContext';
import { useIsMobile } from '@/hooks/use-mobile';
import { Button } from '@/components/ui/button';
import { Card, CardContent } from '@/components/ui/card';
import { Play, Heart, Music, Shuffle } from 'lucide-react';