diff --git a/package.json b/package.json index f6f2d47..331e76e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lx-music-mobile-mod", - "version": "3.3.6", + "version": "3.3.7", "versionCode": 69, "private": true, "scripts": { diff --git a/src/screens/Home/Views/Mylist/MusicList/listAction.ts b/src/screens/Home/Views/Mylist/MusicList/listAction.ts index 1ad150f..c970622 100644 --- a/src/screens/Home/Views/Mylist/MusicList/listAction.ts +++ b/src/screens/Home/Views/Mylist/MusicList/listAction.ts @@ -55,7 +55,7 @@ export const handelDownload = (musicInfo: any, quality: LX.Quality) => { console.log(url); const extension = getFileExtension(url); const fileName = musicInfo.name; - const downloadDir = RNFetchBlob.fs.dirs.DownloadDir + "/lxmusicmod"; + const downloadDir = RNFetchBlob.fs.dirs.DownloadDir + "/lx.music"; const path = `${downloadDir}/${fileName}.${extension}` const config = { fileCache: true, @@ -84,8 +84,6 @@ export const handelDownload = (musicInfo: any, quality: LX.Quality) => { }).catch((e) => { return Promise.reject(e ?? "权限获取失败") }) - - } export const handleRemove = (listId: SelectInfo['listId'], musicInfo: SelectInfo['musicInfo'], selectedList: SelectInfo['selectedList'], onCancelSelect: () => void) => { diff --git a/tsconfig.json b/tsconfig.json index cb87be2..95cedb5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@react-native/typescript-config/tsconfig.json", /* Recommended React Native TSConfig base */ "compilerOptions": { + "jsx": "react", /* Visit https://aka.ms/tsconfig.json to read more about this file */ "module": "ESNext",