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

Removed PeerChooseCancel global variable from facades.

This commit is contained in:
23rd
2021-05-25 19:22:46 +03:00
parent daa14466e5
commit 77c8bf8176
7 changed files with 16 additions and 11 deletions

View File

@@ -674,6 +674,11 @@ void MainWidget::hiderLayer(base::unique_qptr<Window::HistoryHider> hider) {
_hider = std::move(hider);
controller()->setSelectingPeer(true);
_dialogs->closeForwardBarRequests(
) | rpl::start_with_next([=] {
_hider->startHide();
}, _hider->lifetime());
_hider->setParent(this);
_hider->hidden(