mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 12:00:03 +03:00
Send button does not show up half of the time (#3535)
This commit is contained in:
parent
b30c27b7a6
commit
c21b19f49f
2 changed files with 2 additions and 0 deletions
1
changelog.d/3535.feature
Normal file
1
changelog.d/3535.feature
Normal file
|
@ -0,0 +1 @@
|
|||
Send button does not show up half of the time
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue