mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 05:58:38 +00:00
Added ability to bottom scroll in HistoryView::Chat section with submit.
Fixed #29662.
This commit is contained in:
parent
f84181e7a5
commit
b978bc4876
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user