From e797e5f154dcf8bf220b5cb2815347db26279357 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 1 Dec 2022 11:45:45 +0100 Subject: [PATCH] Composer: Do not show the handle to reduce the bottom sheet. --- .../element/android/x/textcomposer/RichTextComposerLayout.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/textcomposer/src/main/java/io/element/android/x/textcomposer/RichTextComposerLayout.kt b/libraries/textcomposer/src/main/java/io/element/android/x/textcomposer/RichTextComposerLayout.kt index 95fab61f47..6a0f5e7e23 100644 --- a/libraries/textcomposer/src/main/java/io/element/android/x/textcomposer/RichTextComposerLayout.kt +++ b/libraries/textcomposer/src/main/java/io/element/android/x/textcomposer/RichTextComposerLayout.kt @@ -133,7 +133,7 @@ class RichTextComposerLayout @JvmOverloads constructor( if (isFullScreen) R.drawable.ic_composer_collapse else R.drawable.ic_composer_full_screen ) - views.bottomSheetHandle.isVisible = isFullScreen + views.bottomSheetHandle.isVisible = false // EAx: always gone, we do not have a bottom sheet here. // isFullScreen if (manageKeyboard) { if (isFullScreen) { editText.showKeyboard(true) @@ -171,7 +171,7 @@ class RichTextComposerLayout @JvmOverloads constructor( views.richTextComposerEditText.maxLines = maxLines views.plainTextComposerEditText.maxLines = maxLines - views.bottomSheetHandle.isVisible = true + views.bottomSheetHandle.isVisible = false // EAx: always gone, we do not have a bottom sheet here. } init {