From e60b3b498e54c07507b8d2dd72914a507c470be3 Mon Sep 17 00:00:00 2001 From: skydoves Date: Thu, 28 Nov 2024 14:40:34 +0900 Subject: [PATCH 1/4] Implement MessageContentFactory --- .idea/inspectionProfiles/ktlint.xml | 4 + .../api/stream-chat-android-compose.api | 14 ++- .../ui/components/messages/MessageContent.kt | 11 +- .../messages/factory/MessageContentFactory.kt | 103 ++++++++++++++++++ .../compose/ui/messages/list/MessageItem.kt | 25 ++--- .../android/compose/ui/theme/ChatTheme.kt | 15 +++ 6 files changed, 153 insertions(+), 19 deletions(-) create mode 100644 stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/components/messages/factory/MessageContentFactory.kt diff --git a/.idea/inspectionProfiles/ktlint.xml b/.idea/inspectionProfiles/ktlint.xml index f6edbe71abf..03a8dc11a93 100644 --- a/.idea/inspectionProfiles/ktlint.xml +++ b/.idea/inspectionProfiles/ktlint.xml @@ -13,6 +13,10 @@