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:
@@ -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),
|
||||
|
Reference in New Issue
Block a user