import { View, Text, TouchableOpacity, ScrollView } from 'react-native' import { useRouter } from 'expo-router' import { useState } from 'react' import { usePlayerStore } from '../src/store/playerStore' const MOODS = [ { id: 'sad', name: 'Sad', color: '#1a2a4a' }, { id: 'happy', name: 'Happy', color: '#f5c542' }, { id: 'energetic', name: 'Energetic', color: '#e63946' }, { id: 'focused', name: 'Focused', color: '#2d6a4f' }, { id: 'chill', name: 'Chill', color: '#48957e' }, { id: 'romantic', name: 'Romantic', color: '#bc6a7e' }, { id: 'angry', name: 'Angry', color: '#9d0208' }, { id: 'nostalgic', name: 'Nostalgic', color: '#a67c52' }, { id: 'melancholy', name: 'Melancholy', color: '#5a189c' }, { id: 'dreamy', name: 'Dreamy', color: '#9b5de5' }, ] export default function MoodScreen() { const [activeMood, setActiveMood] = useState(MOODS[0]) const isPlaying = usePlayerStore(s => s.isPlaying) const togglePlay = usePlayerStore(s => s.togglePlay) return ( Mood Radio 🎵 {activeMood.name} Currently Playing ⬆️ setActiveMood(MOODS[Math.floor(Math.random() * MOODS.length)])} className="px-8 py-3 rounded-full bg-music-card" > Set the Mood ) }