mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-05-23 22:37:41 +08:00
???
This commit is contained in:
parent
e9511bb28c
commit
a88a4541a5
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lx-music-mobile-mod",
|
||||
"version": "3.3.6",
|
||||
"version": "3.3.7",
|
||||
"versionCode": 69,
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -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) => {
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user