getditto/demoapp-chat

Android: "me" user rendering

Closed this issue · 0 comments

abunur commented

The Android UI was designed to render chats sent from the device ("me" user, or self) differently than chat messages received from other users, including:

  • different color for the chat bubbles
  • different profile image (the one that is supposed to be set by the user, along with their name, as per this issue)

The rendering is broken because the way the StateFlow is being rendered is wrong - the Composable should be collecting the StateFlow rather than trying to call toString() on it.