2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +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

@@ -157,7 +157,7 @@ void ShowCallsBox(not_null<Window::SessionController*> window) {
Window::SectionShow(anim::type::instant));
};
const auto clearAll = crl::guard(box, [=] {
Ui::BoxShow(box).showBox(Box(Calls::ClearCallsBox, window));
box->uiShow()->showBox(Box(Calls::ClearCallsBox, window));
});
state->menu->addAction(
tr::lng_settings_section_call_settings(tr::now),