mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Show keyboard when user first reply in a thread
This commit is contained in:
parent
72bc613f34
commit
8a1d008b3c
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue