You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the Compose SDK which is mostly great. One thing we ran into though is that we want to replace the default UserAvatar with our own design.
For the avatar next to a message bubble, we were able to simply replace the messageItemContent of the MessageContainer and that gave us enough flexibility to keep SDK-provided components but replace what we needed (we needed to change the layout of the bubble anyway). But for quoted messages we are not able to easily replace the avatar, as that composable is a lot of levels deep, and would require copying all other composables just to change that one thing. (I think this would also be the case if we would have kept the default message footer which has the avatar).
So a way to easily replace the avatar with a custom composable would be very useful.
The text was updated successfully, but these errors were encountered:
We are using the Compose SDK which is mostly great. One thing we ran into though is that we want to replace the default UserAvatar with our own design.
For the avatar next to a message bubble, we were able to simply replace the
messageItemContent
of theMessageContainer
and that gave us enough flexibility to keep SDK-provided components but replace what we needed (we needed to change the layout of the bubble anyway). But for quoted messages we are not able to easily replace the avatar, as that composable is a lot of levels deep, and would require copying all other composables just to change that one thing. (I think this would also be the case if we would have kept the default message footer which has the avatar).So a way to easily replace the avatar with a custom composable would be very useful.
The text was updated successfully, but these errors were encountered: