Skip to content

Commit

Permalink
修复蓝牙歌词在更新是封面丢失的问题(1.7.0-beta.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Nov 25, 2024
1 parent 27d7fba commit c21122a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lx-music-mobile",
"version": "1.7.0-beta.1",
"version": "1.7.0-beta.2",
"versionCode": 69,
"private": true,
"scripts": {
Expand Down Expand Up @@ -64,7 +64,7 @@
"react-native-pager-view": "6.3.0",
"react-native-quick-base64": "^2.1.2",
"react-native-quick-md5": "^3.0.6",
"react-native-track-player": "github:lyswhut/react-native-track-player#bbd330795e9b06177f00441286a4f4cab72d5ed5",
"react-native-track-player": "github:lyswhut/react-native-track-player#01873f81e30de85ab96363ad7351cf4bdcd39e37",
"react-native-vector-icons": "^10.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion publish/changeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

### 其他

react-native → 0.73.10
react-native → 0.73.11
2 changes: 1 addition & 1 deletion src/core/music/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const getOtherSource = async(musicInfo: LX.Music.MusicInfo | LX.Download.
reject(new Error('find music timeout'))
}, 12_000)
findMusic(searchMusicInfo).then((otherSource) => {
if (otherSourceCache.size > 100) otherSourceCache.clear()
if (otherSourceCache.size > 10) otherSourceCache.clear()
const source = otherSource.map(toNewMusicInfo) as LX.Music.MusicInfoOnline[]
otherSourceCache.set(musicInfo, source)
resolve(source)
Expand Down

0 comments on commit c21122a

Please sign in to comment.