When joining a room, the message composer should be visible once the room loads (#7510)
This commit is contained in:
parent
ac0d823c88
commit
f0340d5ced
|
@ -0,0 +1 @@
|
|||
When joining a room, the message composer is displayed once the room is loaded.
|
|
@ -1169,6 +1169,9 @@ class TimelineFragment :
|
|||
lazyLoadedViews.inviteView(false)?.isVisible = false
|
||||
|
||||
if (mainState.tombstoneEvent == null) {
|
||||
views.composerContainer.isInvisible = !messageComposerState.isComposerVisible
|
||||
views.voiceMessageRecorderContainer.isVisible = messageComposerState.isVoiceMessageRecorderVisible
|
||||
|
||||
when (messageComposerState.canSendMessage) {
|
||||
CanSendStatus.Allowed -> {
|
||||
NotificationAreaView.State.Hidden
|
||||
|
@ -1224,6 +1227,7 @@ class TimelineFragment :
|
|||
|
||||
private fun FragmentTimelineBinding.hideComposerViews() {
|
||||
composerContainer.isVisible = false
|
||||
voiceMessageRecorderContainer.isVisible = false
|
||||
}
|
||||
|
||||
private fun renderTypingMessageNotification(roomSummary: RoomSummary?, state: RoomDetailViewState) {
|
||||
|
|
Loading…
Reference in New Issue