diff --git a/src/plugins/openInApp.ts b/src/plugins/openInApp.ts index 83cd8289..2db0b8dd 100644 --- a/src/plugins/openInApp.ts +++ b/src/plugins/openInApp.ts @@ -71,7 +71,7 @@ export default definePlugin({ { find: ".CONNECTED_ACCOUNT_VIEWED,", replacement: { - match: /(?<=href:\i,onClick:function\(\)\{)(?=return \i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/, + match: /(?<=href:\i,onClick:function\(\i\)\{)(?=\i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/, replace: "$self.handleAccountView(arguments[0],$1.type,$1.id);" } } diff --git a/src/plugins/vencordToolbox/index.css b/src/plugins/vencordToolbox/index.css index 422e36d6..8b509868 100644 --- a/src/plugins/vencordToolbox/index.css +++ b/src/plugins/vencordToolbox/index.css @@ -1,3 +1,8 @@ +.vc-toolbox-btn, +.vc-toolbox-btn svg { + -webkit-app-region: no-drag; +} + .vc-toolbox-btn svg { color: var(--interactive-normal); }