Skip to content

fix: support custom channel preview username text#3654

Merged
isekovanic merged 1 commit into
GetStream:developfrom
NextFaze:develop
Jun 16, 2026
Merged

fix: support custom channel preview username text#3654
isekovanic merged 1 commit into
GetStream:developfrom
NextFaze:develop

Conversation

@zbarbuto

Copy link
Copy Markdown
Contributor

🎯 Goal

In a <ChannelList /> we can customize the styles of just about all the text except for the author's name (text changed to red for demonstrating)

image

This is, as far as I can tell, because the username in ChannelMessagePreviewDeliveryStatus doesn't have any ability to provide theme-based styles like the other props.

🛠 Implementation details

Have added a username theme property allowing styles to be provided under channelPreview

🎨 UI Changes

Consider:

          style: {
            ...theme,
            channelPreview: {
              messageDeliveryStatus: {
                text: {
                  fontSize: 10,
                  color: 'red',
                },
                username: {
                  fontSize: 10,
                  color: 'red',
                },
              },
            },
          },
iOS
Before After
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated - n/a as far as I can tell for this change
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android - unable as there's reanimated version issues on develop but should be identical
    • Expo iOS and Android

@isekovanic isekovanic changed the title feat: support custom channel preview username text fix: support custom channel preview username text Jun 16, 2026

@isekovanic isekovanic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @zbarbuto !

Thanks a lot for your contribution, it seems we missed adding this specifically.

I took the liberty to change this to a bugfix, as that's how we typically label adding theme compatibility to components.

Will merge this soon and publish it with the next release !

@isekovanic isekovanic merged commit 9879db9 into GetStream:develop Jun 16, 2026
3 of 4 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 17, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants