Fix / reply ux stays too long
This commit is contained in:
parent
1b95d98ccd
commit
c09626182c
|
@ -622,6 +622,8 @@ class RoomDetailFragment @Inject constructor(
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (text.isNotBlank()) {
|
if (text.isNotBlank()) {
|
||||||
|
// We collapse ASAP, if not there will be a slight anoying delay
|
||||||
|
composerLayout.collapse(true)
|
||||||
lockSendButton = true
|
lockSendButton = true
|
||||||
roomDetailViewModel.handle(RoomDetailAction.SendMessage(text, vectorPreferences.isMarkdownEnabled()))
|
roomDetailViewModel.handle(RoomDetailAction.SendMessage(text, vectorPreferences.isMarkdownEnabled()))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue