fix softlocking library

This commit is contained in:
Boof2015
2026-07-07 12:47:52 -04:00
parent 31f81282e0
commit 5f02e3e222
6 changed files with 15 additions and 28 deletions
+2 -2
View File
@@ -39,11 +39,11 @@ function DiscHeader({ disc }: { disc: number }) {
export default function AlbumScreen() {
const colors = useColors();
const { key, from } = useLocalSearchParams<{ key: string; from?: string }>();
const { key } = useLocalSearchParams<{ key: string }>();
const albums = useLibraryStore((s) => s.albums);
const allTracks = useLibraryStore((s) => s.tracks);
const currentPath = usePlayerStore((s) => s.currentTrack?.path);
const handleBack = useLibraryDetailBack(from);
const handleBack = useLibraryDetailBack();
const insets = useSafeAreaInsets();
const { scrollY, heroFaded, collapsed, onScroll, scrollEventThrottle, expandedHeight, onHeroBlockLayout } =
useDetailCollapse();