mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[PCCompat > Settings] Properly show SwitchItem changes, return values for settings store
This commit is contained in:
parent
da87247f5d
commit
549bb1afec
3 changed files with 27 additions and 2 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue