mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 06:37:24 +02:00
Don't show connecting spinner in secondary windows.
This commit is contained in:
parent
d353e11077
commit
3df7c71813
1 changed files with 6 additions and 2 deletions
|
@ -232,7 +232,9 @@ MainWidget::MainWidget(
|
|||
, _history(std::in_place, this, _controller)
|
||||
, _playerPlaylist(this, _controller)
|
||||
, _changelogs(Core::Changelogs::Create(&controller->session())) {
|
||||
setupConnectingWidget();
|
||||
if (isPrimary()) {
|
||||
setupConnectingWidget();
|
||||
}
|
||||
|
||||
_history->cancelRequests(
|
||||
) | rpl::start_with_next([=] {
|
||||
|
@ -1898,7 +1900,9 @@ void MainWidget::orderWidgets() {
|
|||
if (_thirdColumnResizeArea) {
|
||||
_thirdColumnResizeArea->raise();
|
||||
}
|
||||
_connecting->raise();
|
||||
if (_connecting) {
|
||||
_connecting->raise();
|
||||
}
|
||||
floatPlayerRaiseAll();
|
||||
_playerPlaylist->raise();
|
||||
if (_player) {
|
||||
|
|
Loading…
Add table
Reference in a new issue