mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Added ability to bottom scroll in HistoryView::Chat section with submit.
Fixed #29662.
This commit is contained in:
@@ -810,6 +810,11 @@ void ChatWidget::setupComposeControls() {
|
||||
send(options);
|
||||
}, lifetime());
|
||||
|
||||
_composeControls->scrollToMaxRequests(
|
||||
) | rpl::start_with_next([=] {
|
||||
listScrollTo(_scroll->scrollTopMax());
|
||||
}, lifetime());
|
||||
|
||||
_composeControls->sendVoiceRequests(
|
||||
) | rpl::start_with_next([=](const ComposeControls::VoiceToSend &data) {
|
||||
sendVoice(data);
|
||||
|
Reference in New Issue
Block a user