2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Removed Ui::hideSettingsAndLayer().

This commit is contained in:
23rd
2022-02-20 14:00:36 +03:00
parent bc6d69319c
commit 3ebb9af8f8
12 changed files with 30 additions and 24 deletions

View File

@@ -165,7 +165,7 @@ void Controller::checkLockByTerms() {
}
return;
}
Ui::hideSettingsAndLayer(anim::type::instant);
hideSettingsAndLayer(anim::type::instant);
const auto box = show(Box<TermsBox>(
*data,
tr::lng_terms_agree(),
@@ -327,6 +327,10 @@ void Controller::showRightColumn(object_ptr<TWidget> widget) {
_widget.showRightColumn(std::move(widget));
}
void Controller::hideSettingsAndLayer(anim::type animated) {
_widget.ui_hideSettingsAndLayer(animated);
}
void Controller::sideBarChanged() {
_widget.recountGeometryConstraints();
}