From 6573c4757cc1b2e3847c037d254cbdd11653b579 Mon Sep 17 00:00:00 2001 From: Korbo Date: Tue, 28 Nov 2023 12:32:29 -0600 Subject: [PATCH] fix: strikethrough in SilentMessageToggle's disabled SVG (#2004) --- src/plugins/silentMessageToggle/index.tsx | 19 +++++++++---------- src/utils/constants.ts | 4 ++++ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/plugins/silentMessageToggle/index.tsx b/src/plugins/silentMessageToggle/index.tsx index a1ee8de89..b7b33826d 100644 --- a/src/plugins/silentMessageToggle/index.tsx +++ b/src/plugins/silentMessageToggle/index.tsx @@ -80,16 +80,15 @@ function SilentMessageToggle(chatBoxProps: { style={{ padding: "0 6px" }} >
- - - - - {!enabled && } - + + + {!enabled && <> + + + + + + }
diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 7f555d322..0ff7da72a 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -387,6 +387,10 @@ export const Devs = /* #__PURE__*/ Object.freeze({ name: "ant0n", id: 145224646868860928n }, + Korbo: { + name: "Korbo", + id: 455856406420258827n + }, } satisfies Record); // iife so #__PURE__ works correctly