mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 18:07:02 -04:00
fix white typing indicators in servers (#166)
This commit is contained in:
parent
c73f49a08f
commit
22bb603da1
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ interface Props {
|
||||||
|
|
||||||
function typingUserColor(guildId: string, userId: string) {
|
function typingUserColor(guildId: string, userId: string) {
|
||||||
if (!settings.store.showRoleColors) return;
|
if (!settings.store.showRoleColors) return;
|
||||||
if (Settings.plugins.CustomUserColors.enabled) return getCustomColorString(userId, true);
|
const customColor = Settings.plugins.CustomUserColors.enabled ? getCustomColorString(userId, true) : null;
|
||||||
return GuildMemberStore.getMember(guildId, userId)?.colorString;
|
return customColor ?? GuildMemberStore.getMember(guildId, userId)?.colorString;
|
||||||
}
|
}
|
||||||
|
|
||||||
const TypingUser = ErrorBoundary.wrap(function ({ user, guildId }: Props) {
|
const TypingUser = ErrorBoundary.wrap(function ({ user, guildId }: Props) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue