diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-15 18:04:30 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-15 18:04:30 +0800 |
commit | 42bcdf88fbaf3634dd96716f9eb9ee7172d730e1 (patch) | |
tree | f0e31d42879457d06dc6eaa907b964d59d6b889e | |
parent | db9e75bcb2f0f061533431a2acb0f91c95482941 (diff) | |
download | SoopyV2-42bcdf88fbaf3634dd96716f9eb9ee7172d730e1.tar.gz SoopyV2-42bcdf88fbaf3634dd96716f9eb9ee7172d730e1.tar.bz2 SoopyV2-42bcdf88fbaf3634dd96716f9eb9ee7172d730e1.zip |
+meta
-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", |