Fix / reply ux stays too long

This commit is contained in:
Valere 2020-06-02 19:31:25 +02:00
parent 1b95d98ccd
commit c09626182c

View file

@ -622,6 +622,8 @@ class RoomDetailFragment @Inject constructor(
return
}
if (text.isNotBlank()) {
// We collapse ASAP, if not there will be a slight anoying delay
composerLayout.collapse(true)
lockSendButton = true
roomDetailViewModel.handle(RoomDetailAction.SendMessage(text, vectorPreferences.isMarkdownEnabled()))
}