diff --git a/changelog.d/3535.feature b/changelog.d/3535.feature new file mode 100644 index 0000000000..840f938acf --- /dev/null +++ b/changelog.d/3535.feature @@ -0,0 +1 @@ +Send button does not show up half of the time \ No newline at end of file diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerView.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerView.kt index fa5e736c1c..033eb12563 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerView.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerView.kt @@ -73,6 +73,7 @@ class TextComposerView @JvmOverloads constructor( override fun onTextBlankStateChanged(isBlank: Boolean) { callback?.onTextBlankStateChanged(isBlank) val shouldBeVisible = currentConstraintSetId == R.layout.composer_layout_constraint_set_expanded || !isBlank + TransitionManager.endTransitions(this@TextComposerView) if (views.sendButton.isVisible != shouldBeVisible) { TransitionManager.beginDelayedTransition( this@TextComposerView,