From 22bb603da1c8551604c30a7e63e269f0b245ac27 Mon Sep 17 00:00:00 2001 From: mochie Date: Thu, 27 Feb 2025 00:42:02 +0100 Subject: [PATCH] fix white typing indicators in servers (#166) --- src/plugins/typingTweaks/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/typingTweaks/index.tsx b/src/plugins/typingTweaks/index.tsx index 69226e1c..85580310 100644 --- a/src/plugins/typingTweaks/index.tsx +++ b/src/plugins/typingTweaks/index.tsx @@ -60,8 +60,8 @@ interface Props { function typingUserColor(guildId: string, userId: string) { if (!settings.store.showRoleColors) return; - if (Settings.plugins.CustomUserColors.enabled) return getCustomColorString(userId, true); - return GuildMemberStore.getMember(guildId, userId)?.colorString; + const customColor = Settings.plugins.CustomUserColors.enabled ? getCustomColorString(userId, true) : null; + return customColor ?? GuildMemberStore.getMember(guildId, userId)?.colorString; } const TypingUser = ErrorBoundary.wrap(function ({ user, guildId }: Props) {