diff options
-rw-r--r-- | features/settings/index.js | 4 | ||||
-rw-r--r-- | metadata.json | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/features/settings/index.js b/features/settings/index.js index 30f653f..6943537 100644 --- a/features/settings/index.js +++ b/features/settings/index.js @@ -34,6 +34,10 @@ class SettingsRenderer extends Feature { } }) + this.registerCommand("soopytogglesetting", (category, setting) => { + settingsCommunicator.settings?.[category]?.[setting]?.setValue(!settingsCommunicator.settings?.[category]?.[setting]?.getValue()) + }) + } onDisable() { diff --git a/metadata.json b/metadata.json index 2a8af70..c900ac8 100644 --- a/metadata.json +++ b/metadata.json @@ -5,8 +5,8 @@ "entry": "index.js", "description": "SoopyV2", "name": "SoopyV2", - "version": "2.1.125", - "versionId": 252, + "version": "2.1.126", + "versionId": 253, "requires": [ "soopyApis", "soopyAddonsData", |