make checkbox items in Preferences instantly update

This commit is contained in:
Lucy 2024-05-08 17:53:52 -04:00 committed by GitHub
parent a6948c3a38
commit 4c200ccfe6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class PreferencesMenu extends Page
var value = !checkbox.currentValue;
onChange(value);
checkbox.currentValue = value;
});
}, true);
preferenceItems.add(checkbox);
}