Detach ComposeControls from SessionController.
This commit is contained in:
@@ -23,6 +23,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "ui/boxes/confirm_box.h"
|
||||
#include "boxes/phone_banned_box.h"
|
||||
#include "core/application.h"
|
||||
#include "window/window_controller.h"
|
||||
#include "window/window_session_controller.h"
|
||||
#include "countries/countries_instance.h" // Countries::Groups
|
||||
|
||||
@@ -46,7 +47,7 @@ PhoneWidget::PhoneWidget(
|
||||
: Step(parent, account, data)
|
||||
, _country(
|
||||
this,
|
||||
std::make_shared<Window::Show>(getData()->controller),
|
||||
getData()->controller->uiShow(),
|
||||
st::introCountry)
|
||||
, _code(this, st::introCountryCode)
|
||||
, _phone(
|
||||
|
||||
Reference in New Issue
Block a user