From a9343400ba06efba581d7b5cb4a8f3024c7a95db Mon Sep 17 00:00:00 2001 From: amsyarasyiq <82711525+amsyarasyiq@users.noreply.github.com> Date: Mon, 13 Feb 2023 21:51:43 +0800 Subject: [PATCH] Last.fm: I hate --- plugins/Last.fm/src/Settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Last.fm/src/Settings.tsx b/plugins/Last.fm/src/Settings.tsx index 85e3198..fc2342e 100644 --- a/plugins/Last.fm/src/Settings.tsx +++ b/plugins/Last.fm/src/Settings.tsx @@ -15,7 +15,7 @@ const { FormInput, FormDivider, FormSwitchRow, FormText, FormIcon } = Forms; function UpdateButton() { async function onPressCallback() { for (const key in storage) { - if (storage[key] !== false && !storage[key]) { + if (storage[key] === false || storage[key]) { currentSettings[key] = storage[key]; } }