[PCCompat > Settings] Properly show SwitchItem changes, return values for settings store

This commit is contained in:
Ducko 2021-06-07 22:19:03 +01:00 committed by Alyxia Sother
parent da87247f5d
commit 549bb1afec
No known key found for this signature in database
GPG key ID: 355968D14144B739
3 changed files with 27 additions and 2 deletions

View file

@ -19,10 +19,14 @@ class SimpleStore {
}
this.store[key] = value;
return this.store[key];
}
toggleSetting = (key) => {
this.store[key] = !this.store[key];
return this.store[key];
}
deleteSetting = (key) => {