From 7a612e5c13be8b4b7686eb184ccc27b12eeaae6b Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 16 Aug 2024 02:09:18 -0400 Subject: [PATCH] Fix --- src/equicordplugins/soundBoardLogger/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/soundBoardLogger/index.tsx b/src/equicordplugins/soundBoardLogger/index.tsx index 52a57448..09a211c8 100644 --- a/src/equicordplugins/soundBoardLogger/index.tsx +++ b/src/equicordplugins/soundBoardLogger/index.tsx @@ -42,7 +42,7 @@ export default definePlugin({ find: "toolbar:function", replacement: { match: /(function \i\(\i\){)(.{1,200}toolbar.{1,100}mobileToolbar)/, - replace: "$1$self.addIconToToolBar(arguments[0]);$2" + replace: "$1$self.addSBIconToToolBar(arguments[0]);$2" } } ], @@ -60,7 +60,7 @@ export default definePlugin({ disableStyle(styles); if (settings.store.IconLocation === "chat") removeChatBarButton("vc-soundlog-button"); }, - addIconToToolBar(e: { toolbar: React.ReactNode[] | React.ReactNode; }) { + addSBIconToToolBar(e: { toolbar: React.ReactNode[] | React.ReactNode; }) { if (Array.isArray(e.toolbar)) return e.toolbar.push(