Last.fm: I hate

This commit is contained in:
amsyarasyiq 2023-02-13 21:51:43 +08:00
parent f94ca62a41
commit a9343400ba

View file

@ -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];
}
}