2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Added method to Window::Controller to show custom layer widget.

This commit is contained in:
23rd
2021-02-21 06:48:32 +03:00
parent d1b6cf1fae
commit cc4055a5e3
3 changed files with 12 additions and 1 deletions

View File

@@ -1206,7 +1206,7 @@ void SessionController::showLayer(
std::unique_ptr<Ui::LayerWidget> &&layer,
Ui::LayerOptions options,
anim::type animated) {
widget()->showLayer(std::move(layer), options, animated);
_window->showLayer(std::move(layer), options, animated);
}
void SessionController::removeLayerBlackout() {