From e7d0fc258d5283973e68ae698b0f172f951546be Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 28 Apr 2023 19:32:29 +0200 Subject: [skip ci] WebContextMenus: fix false ci test positives --- src/plugins/webContextMenus.web.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins') 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: [ { -- cgit