aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-04-28 19:32:29 +0200
committerVendicated <vendicated@riseup.net>2023-04-28 19:32:29 +0200
commite7d0fc258d5283973e68ae698b0f172f951546be (patch)
tree54b346b61d66086ea32aebc1b1d4f54cf6c2e424 /src
parent7b13b9a53ea92c337b9840c0050c6a47266efdcc (diff)
downloadVencord-e7d0fc258d5283973e68ae698b0f172f951546be.tar.gz
Vencord-e7d0fc258d5283973e68ae698b0f172f951546be.tar.bz2
Vencord-e7d0fc258d5283973e68ae698b0f172f951546be.zip
[skip ci] WebContextMenus: fix false ci test positives
Diffstat (limited to 'src')
-rw-r--r--src/plugins/webContextMenus.web.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/webContextMenus.web.ts b/src/plugins/webContextMenus.web.ts
index 2e9d581..4ded483 100644
--- a/src/plugins/webContextMenus.web.ts
+++ b/src/plugins/webContextMenus.web.ts
@@ -121,7 +121,7 @@ export default definePlugin({
predicate: () => settings.store.addBack,
replacement: {
// return IS_DESKTOP ? React.createElement(Menu, ...)
- match: /return \i\.\i\?(?=\(0,\i\.jsxs?\)\(\i\.Menu)/,
+ match: /return \i\.\i\?/,
replace: "return true?"
}
},
@@ -146,7 +146,7 @@ export default definePlugin({
}
},
{
- find: 'navId:"textarea-context"',
+ find: ':"command-suggestions"',
predicate: () => settings.store.addBack,
replacement: [
{