2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Copy t.me/+phonenumber link from Phone Number Privacy.

This commit is contained in:
John Preston
2022-03-01 15:30:55 +03:00
parent bea2cfd363
commit 616d099c07
5 changed files with 83 additions and 28 deletions

View File

@@ -143,7 +143,8 @@ void SetupPrivacy(
tr::lng_settings_phone_number_privacy(),
{ &st::settingsIconCalls, kIconGreen },
Key::PhoneNumber,
[] { return std::make_unique<PhoneNumberPrivacyController>(); });
[=] { return std::make_unique<PhoneNumberPrivacyController>(
controller); });
add(
tr::lng_settings_last_seen(),
{ &st::settingsIconOnline, kIconLightBlue },