remove/disable download options

This commit is contained in:
austinried
2021-08-16 11:05:38 +09:00
parent d72258c68e
commit ad25972774
7 changed files with 84 additions and 62 deletions

View File

@@ -191,7 +191,7 @@ export const useSetQueue = () => {
const getQueueShuffled = useCallback(() => !!useStore.getState().shuffleOrder, [])
const setQueueContextType = useStore(selectTrackPlayer.setQueueContextType)
const setQueueContextId = useStore(selectTrackPlayer.setQueueContextId)
const getCoverArtPath = useStore(selectCache.getCoverArtPath)
const fetchCoverArtFilePath = useStore(selectCache.fetchCoverArtFilePath)
return async (
songs: Song[],
@@ -217,7 +217,7 @@ export const useSetQueue = () => {
continue
}
coverArtPaths[s.coverArt] = await getCoverArtPath(s.coverArt)
coverArtPaths[s.coverArt] = await fetchCoverArtFilePath(s.coverArt)
}
let queue = songs.map(s => mapSongToTrack(s, coverArtPaths))