mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Composer: Do not show the handle to reduce the bottom sheet.
This commit is contained in:
+2
-2
@@ -133,7 +133,7 @@ class RichTextComposerLayout @JvmOverloads constructor(
|
|||||||
if (isFullScreen) R.drawable.ic_composer_collapse else R.drawable.ic_composer_full_screen
|
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 (manageKeyboard) {
|
||||||
if (isFullScreen) {
|
if (isFullScreen) {
|
||||||
editText.showKeyboard(true)
|
editText.showKeyboard(true)
|
||||||
@@ -171,7 +171,7 @@ class RichTextComposerLayout @JvmOverloads constructor(
|
|||||||
views.richTextComposerEditText.maxLines = maxLines
|
views.richTextComposerEditText.maxLines = maxLines
|
||||||
views.plainTextComposerEditText.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 {
|
init {
|
||||||
|
|||||||
Reference in New Issue
Block a user