Show keyboard when user first reply in a thread

This commit is contained in:
ariskotsomitopoulos 2022-03-23 11:29:06 +02:00
parent 72bc613f34
commit 8a1d008b3c

View file

@ -1463,6 +1463,10 @@ class TimelineFragment @Inject constructor(
views.composerLayout.views.composerEmojiButton.isVisible = vectorPreferences.showEmojiKeyboard()
if(isThreadTimeLine() && timelineArgs.threadTimelineArgs?.startsThread == true){
// Show keyboard when the user started a thread
views.composerLayout.views.composerEditText.showKeyboard(andRequestFocus = true)
}
views.composerLayout.callback = object : MessageComposerView.Callback {
override fun onAddAttachment() {
if (!::attachmentTypeSelector.isInitialized) {