更新软件默认使用的字体
This commit is contained in:
@@ -58,7 +58,7 @@ export const getOtherSource = async(musicInfo: LX.Music.MusicInfo | LX.Download.
|
||||
reject(new Error('find music timeout'))
|
||||
}, 15_000)
|
||||
musicSdk.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)
|
||||
|
||||
Reference in New Issue
Block a user