mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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)
|
, _history(std::in_place, this, _controller)
|
||||||
, _playerPlaylist(this, _controller)
|
, _playerPlaylist(this, _controller)
|
||||||
, _changelogs(Core::Changelogs::Create(&controller->session())) {
|
, _changelogs(Core::Changelogs::Create(&controller->session())) {
|
||||||
setupConnectingWidget();
|
if (isPrimary()) {
|
||||||
|
setupConnectingWidget();
|
||||||
|
}
|
||||||
|
|
||||||
_history->cancelRequests(
|
_history->cancelRequests(
|
||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
|
@ -1898,7 +1900,9 @@ void MainWidget::orderWidgets() {
|
||||||
if (_thirdColumnResizeArea) {
|
if (_thirdColumnResizeArea) {
|
||||||
_thirdColumnResizeArea->raise();
|
_thirdColumnResizeArea->raise();
|
||||||
}
|
}
|
||||||
_connecting->raise();
|
if (_connecting) {
|
||||||
|
_connecting->raise();
|
||||||
|
}
|
||||||
floatPlayerRaiseAll();
|
floatPlayerRaiseAll();
|
||||||
_playerPlaylist->raise();
|
_playerPlaylist->raise();
|
||||||
if (_player) {
|
if (_player) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue