move album to cover art mapping to music

This commit is contained in:
austinried
2021-08-14 17:46:16 +09:00
parent a95372fa55
commit d72258c68e
5 changed files with 85 additions and 86 deletions

View File

@@ -1,4 +1,4 @@
import { CacheFileTypeKey } from '@app/models/music'
import { CacheItemTypeKey } from '@app/models/music'
import { selectCache } from '@app/state/cache'
import { selectMusic } from '@app/state/music'
import { selectSettings } from '@app/state/settings'
@@ -64,7 +64,7 @@ export const useStarred = (id: string, type: string) => {
)
}
const useFileRequest = (key: CacheFileTypeKey, id: string) => {
const useFileRequest = (key: CacheItemTypeKey, id: string) => {
const file = useStore(
useCallback(
(store: Store) => {