2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +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

@@ -1500,6 +1500,14 @@ Window::Adaptive &SessionController::adaptive() const {
return _window->adaptive();
}
void SessionController::setConnectingBottomSkip(int skip) {
_connectingBottomSkip = skip;
}
rpl::producer<int> SessionController::connectingBottomSkipValue() const {
return _connectingBottomSkip.value();
}
QPointer<Ui::BoxContent> SessionController::show(
object_ptr<Ui::BoxContent> content,
Ui::LayerOptions options,