When using a custom UserName Builder it doesn't replace all user-name places. #1708
Closed
1 task done
Labels
bug
Something isn't working
Which packages are you using?
stream_chat_flutter, stream_chat_persistance
On what platforms did you experience the issue?
iOS
What version are you using?
stream_chat_flutter - 6.6.0
What happened?
When setting a custom Username by setting the property
bottomRowBuilderWithDefaultWidget
fromStreamMessageListView
and using a customusernameBuilder
. Some parts of the UI do not use the widget to set the Username.For example, the Reactions Card shows a wrong username:
https://github.com/GetStream/stream-chat-flutter/blob/master/packages/stream_chat_flutter/lib/src/message_widget/reactions/reactions_card.dart#L132
There should be a way to set a custom UserName for all these scenarios.
Steps to reproduce
- Create a new StreamMessageListView - Override the `bottomRowBuilderWithDefaultWidget` property with a custom UserName Builder. - Open the Reactions Card on any message, the username does not match the one created by the custom builder.
Supporting info to reproduce
Relevant log output
Flutter analyze output
Flutter doctor output
Code of Conduct
The text was updated successfully, but these errors were encountered: