2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 07:56:03 +00:00

Fix player closing on logout.

This commit is contained in:
John Preston
2020-06-25 19:01:10 +04:00
parent bf7aae5fc6
commit 2b5d3b022d
4 changed files with 10 additions and 2 deletions

View File

@@ -587,7 +587,7 @@ void Widget::showTerms(Fn<void()> callback) {
void Widget::showControls() {
getStep()->show();
setupNextButton();
_next->show(anim::type::instant);
_next->toggle(_nextShown, anim::type::instant);
_nextShownAnimation.stop();
_connecting->setForceHidden(false);
auto hasCover = getStep()->hasCover();