mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fixes #2147 - Automatically scroll the timeline to the bottom when sending a message
This commit is contained in:
committed by
Stefan Ceriu
parent
9ed35e8633
commit
0dbceceac3
@@ -464,6 +464,8 @@ class RoomScreenViewModel: RoomScreenViewModelType, RoomScreenViewModelProtocol
|
||||
case .recordVoiceMessage, .previewVoiceMessage:
|
||||
fatalError("invalid composer mode.")
|
||||
}
|
||||
|
||||
state.timelineViewState.scrollToBottomPublisher.send(())
|
||||
}
|
||||
|
||||
private func trackComposerMode(_ mode: RoomScreenComposerMode) {
|
||||
|
||||
Reference in New Issue
Block a user