Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(app): size channel icons in the inbox headers (#3426)

Hampusd2173fe87982
diff --git a/fluxer_app/src/features/channel/components/ChannelSourcePreview.tsx b/fluxer_app/src/features/channel/components/ChannelSourcePreview.tsx
index c825c76b2..8f2056eb8 100644
--- a/fluxer_app/src/features/channel/components/ChannelSourcePreview.tsx
+++ b/fluxer_app/src/features/channel/components/ChannelSourcePreview.tsx
@@ -294,7 +294,7 @@ export const ChannelSourcePreview = observer(function ChannelSourcePreview({
{renderChannelAvatar(channel, resolvedAvatarSize, avatarFallbackLabels)}
<div className={styles.textContainer} data-flx="channel.channel-source-preview.text-container">
<div className={styles.nameRow} data-flx="channel.channel-source-preview.name-row">
- {channel.guildId ? ChannelUtils.getIcon(channel, {weight: 'bold'}) : null}
+ {channel.guildId ? ChannelUtils.getIcon(channel, {className: styles.channelIcon, weight: 'bold'}) : null}
{renderNameAction()}
{mentionCount != null && mentionCount > 0 ? (
<MentionBadge