diff --git a/publish/changeLog.md b/publish/changeLog.md index e866d286..ebd8c0a1 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -2,9 +2,10 @@ - 新增托盘图标颜色 跟随系统亮暗模式 设置,可以在 设置-其他 启用 (#2016) -### 就放 +### 修复 - 修复歌单详情页内歌单名字过长时的UI显示问题(#2028) +- 修复获取自定义环境音效预设列表逻辑问题 ### 其他 diff --git a/src/renderer/store/soundEffect.ts b/src/renderer/store/soundEffect.ts index b2c98424..f9a65981 100644 --- a/src/renderer/store/soundEffect.ts +++ b/src/renderer/store/soundEffect.ts @@ -41,7 +41,8 @@ export const removeUserEQPreset = async(id: string) => { let userConvolutionPresetList: LX.SoundEffect.ConvolutionPreset[] | null = null export const getUserConvolutionPresetList = async() => { - if (userEqPresetList == null) { + if (userConvolutionPresetList == null) { + // eslint-disable-next-line require-atomic-updates userConvolutionPresetList = reactive(await getUserSoundEffectConvolutionPresetList()) } return userConvolutionPresetList