From 432861780a647cc5dd83b812e072dacf87b970a4 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sat, 21 Sep 2024 12:45:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E7=8E=AF=E5=A2=83=E9=9F=B3=E6=95=88=E9=A2=84?= =?UTF-8?q?=E8=AE=BE=E5=88=97=E8=A1=A8=E9=80=BB=E8=BE=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 3 ++- src/renderer/store/soundEffect.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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