mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Added ability to hide layer for specific window controller.
This commit is contained in:
@@ -1515,6 +1515,10 @@ QPointer<Ui::BoxContent> SessionController::show(
|
||||
return _window->show(std::move(content), options, animated);
|
||||
}
|
||||
|
||||
void SessionController::hideLayer(anim::type animated) {
|
||||
show({ nullptr }, Ui::LayerOption::CloseOther, animated);
|
||||
}
|
||||
|
||||
void SessionController::openPhoto(
|
||||
not_null<PhotoData*> photo,
|
||||
FullMsgId contextId) {
|
||||
|
Reference in New Issue
Block a user