aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/_core/settings.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/_core/settings.tsx b/src/plugins/_core/settings.tsx
index 88ebb57..f7fcdd0 100644
--- a/src/plugins/_core/settings.tsx
+++ b/src/plugins/_core/settings.tsx
@@ -39,8 +39,9 @@ export default definePlugin({
addContextMenuPatch("user-settings-cog", children => () => {
const section = children.find(c => Array.isArray(c) && c.some(it => it?.props?.id === "VencordSettings")) as any;
section?.forEach(c => {
- if (c?.props?.id?.startsWith("Vencord")) {
- c.props.action = () => SettingsRouter.open(c.props.id);
+ const id = c?.props?.id;
+ if (id?.startsWith("Vencord") || id?.startsWith("Vesktop")) {
+ c.props.action = () => SettingsRouter.open(id);
}
});
});