2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Show connecting / proxy status above downloads.

Fixes #24125.
This commit is contained in:
John Preston
2022-03-01 18:38:45 +03:00
parent 0192edbe84
commit aa3357eee1
6 changed files with 32 additions and 3 deletions

View File

@@ -391,6 +391,10 @@ void MainWidget::setupConnectingWidget() {
this,
&session().account(),
_controller->adaptive().oneColumnValue() | rpl::map(!_1));
_controller->connectingBottomSkipValue(
) | rpl::start_with_next([=](int skip) {
_connecting->setBottomSkip(skip);
}, lifetime());
}
not_null<Media::Player::FloatDelegate*> MainWidget::floatPlayerDelegate() {