aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/invisibleChat/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/invisibleChat/index.tsx')
-rw-r--r--src/plugins/invisibleChat/index.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/invisibleChat/index.tsx b/src/plugins/invisibleChat/index.tsx
index a83d47b..d3358be 100644
--- a/src/plugins/invisibleChat/index.tsx
+++ b/src/plugins/invisibleChat/index.tsx
@@ -91,8 +91,8 @@ function ChatBarIcon() {
<svg
aria-hidden
role="img"
- width="24"
- height="24"
+ width="32"
+ height="32"
viewBox={"0 0 64 64"}
style={{ scale: "1.1" }}
>
@@ -131,8 +131,8 @@ export default definePlugin({
{
find: ".activeCommandOption",
replacement: {
- match: /.=.\.activeCommand,.=.\.activeCommandOption,.{1,133}(.)=\[\];/,
- replace: "$&;$1.push($self.chatBarIcon());",
+ match: /(.)\.push.{1,50}\(\i,\{.{1,30}\},"gift"\)\)/,
+ replace: "$&;try{$1.push($self.chatBarIcon())}catch{}",
}
},
],