fix internal routing, and remove softlocking

This commit is contained in:
Boof2015
2026-07-25 11:12:02 -04:00
parent 098992639d
commit 0f34ca2e8d
33 changed files with 904 additions and 157 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import Animated, {
useSharedValue,
withTiming,
} from 'react-native-reanimated';
import { usePlayerUiStore } from '@/stores/playerUiStore';
import { usePlayerOnScreen, usePlayerUiStore } from '@/stores/playerUiStore';
import { Text } from './Text';
import { AstraLogo } from './AstraLogo';
import { SpectrumCurve } from './SpectrumCurve';
@@ -118,7 +118,7 @@ export function MiniPlayer() {
const styles = useStyles();
const colors = useColors();
const ripple = useRipple();
const playerOpen = usePlayerUiStore((s) => s.playerOpen);
const playerOpen = usePlayerOnScreen();
const selectedTarget = usePlaybackTargetStore((s) => s.target);
const track = usePlayerStore((s) => s.currentTrack);
const playbackState = usePlayerStore((s) => s.playbackState);