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

Added Window::SessionController to ChangePhoneBox.

This commit is contained in:
23rd
2021-10-18 19:11:28 +03:00
parent 30681e2e58
commit c6e1b14429
3 changed files with 38 additions and 28 deletions

View File

@@ -214,7 +214,7 @@ void SetupRows(
tr::lng_settings_phone_label(),
Info::Profile::PhoneValue(self),
tr::lng_profile_copy_phone(tr::now),
[=] { controller->show(Box<ChangePhoneBox>(session)); },
[=] { controller->show(Box<ChangePhoneBox>(controller)); },
st::settingsInfoPhone);
auto username = Info::Profile::UsernameValue(self);