2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +00:00

Toggle calls controls using config and user flags.

Also use calls timeout values from config.
Also request config each time when the auth session changes.
This commit is contained in:
John Preston
2017-04-28 20:16:14 +03:00
parent f4911431d5
commit 30d000e139
18 changed files with 134 additions and 44 deletions

View File

@@ -2149,7 +2149,7 @@ void OverviewWidget::showAnimated(Window::SlideDirection direction, const Window
_cacheUnder = params.oldContentCache;
show();
_topBar->showAll();
_topBar->updateControlsVisibility();
_topShadow->setVisible(params.withTopBarShadow ? false : true);
_cacheOver = App::main()->grabForShowAnimation(params);
_topShadow->setVisible(params.withTopBarShadow ? true : false);