2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Detach ComposeControls from SessionController.

This commit is contained in:
John Preston
2023-05-02 13:33:19 +04:00
parent 665467b02d
commit 65afa2c402
178 changed files with 2080 additions and 1869 deletions

View File

@@ -352,8 +352,7 @@ void MainWindow::ensureLayerCreated() {
}
_layer = base::make_unique_q<Ui::LayerStackWidget>(
bodyWidget(),
crl::guard(this, [=] {
return std::make_shared<Window::Show>(&controller()); }));
crl::guard(this, [=] { return controller().uiShow(); }));
_layer->hideFinishEvents(
) | rpl::filter([=] {