mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Removed Ui::hideSettingsAndLayer().
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user