From 604dd43431a46911edd2494030820d4a7d4c8ee9 Mon Sep 17 00:00:00 2001 From: PetarVelikov Date: Wed, 4 Dec 2024 12:03:40 +0100 Subject: [PATCH] [AND-147] Add StreamKeyboardBehaviour to CHANGELOG.md. --- CHANGELOG.md | 2 ++ .../io/getstream/chat/android/compose/ui/theme/ChatTheme.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e90dd91c0b..6732b81e4b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,11 +67,13 @@ ## stream-chat-android-compose ### 🐞 Fixed +- Fix keyboard not closing when opening the attachments picker from `MessagesScreen`. [#5506](https://github.com/GetStream/stream-chat-android/pull/5506) ### ⬆️ Improved ### ✅ Added - The `StreamAttachmentFactories.defaultFactories()` method now accepts a `skipTypes` parameter to skip specific factory types. [#5494](https://github.com/GetStream/stream-chat-android/pull/5494) +- Add `ChatTheme.keyboardBehaviour` property to customize different keyboard behaviours. [#5506](https://github.com/GetStream/stream-chat-android/pull/5506) ### ⚠️ Changed diff --git a/stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/theme/ChatTheme.kt b/stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/theme/ChatTheme.kt index 1c441a21f6d..71708483d12 100644 --- a/stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/theme/ChatTheme.kt +++ b/stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/theme/ChatTheme.kt @@ -219,7 +219,7 @@ private val LocalStreamMediaRecorder = compositionLocalOf { error("No StreamMediaRecorder provided! Make sure to wrap all usages of Stream components in a ChatTheme.") } private val LocalKeyboardBehaviour = compositionLocalOf { - error("No KeyboardBehaviour provided! Make sure to wrap all usages of Stream components in a ChatTheme.") + error("No StreamKeyboardBehaviour provided! Make sure to wrap all usages of Stream components in a ChatTheme.") } /**