修复记住播放进度的情况下,使用Scheme URL打开应用播放的歌曲进度没有被重置的问题
This commit is contained in:
@@ -109,6 +109,7 @@ const handleRestorePlay = async(restorePlayInfo: LX.Player.SavedPlayInfo) => {
|
||||
if (!musicInfo) return
|
||||
|
||||
setImmediate(() => {
|
||||
if (musicInfo.id != playMusicInfo.musicInfo?.id) return
|
||||
window.app_event.setProgress(appSetting['player.isSavePlayTime'] ? restorePlayInfo.time : 0, restorePlayInfo.maxTime)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user