Move Bio privacy up a bit.
This commit is contained in:
parent
8818012182
commit
35214d108e
|
@ -281,6 +281,10 @@ void SetupPrivacy(
|
||||||
tr::lng_settings_profile_photo_privacy(),
|
tr::lng_settings_profile_photo_privacy(),
|
||||||
Key::ProfilePhoto,
|
Key::ProfilePhoto,
|
||||||
[] { return std::make_unique<ProfilePhotoPrivacyController>(); });
|
[] { return std::make_unique<ProfilePhotoPrivacyController>(); });
|
||||||
|
add(
|
||||||
|
tr::lng_settings_bio_privacy(),
|
||||||
|
Key::About,
|
||||||
|
[] { return std::make_unique<AboutPrivacyController>(); });
|
||||||
add(
|
add(
|
||||||
tr::lng_settings_forwards_privacy(),
|
tr::lng_settings_forwards_privacy(),
|
||||||
Key::Forwards,
|
Key::Forwards,
|
||||||
|
@ -300,10 +304,6 @@ void SetupPrivacy(
|
||||||
tr::lng_settings_voices_privacy(),
|
tr::lng_settings_voices_privacy(),
|
||||||
Key::Voices,
|
Key::Voices,
|
||||||
[=] { return std::make_unique<VoicesPrivacyController>(session); });
|
[=] { return std::make_unique<VoicesPrivacyController>(session); });
|
||||||
add(
|
|
||||||
tr::lng_settings_bio_privacy(),
|
|
||||||
Key::About,
|
|
||||||
[] { return std::make_unique<AboutPrivacyController>(); });
|
|
||||||
|
|
||||||
session->api().userPrivacy().reload(Api::UserPrivacy::Key::AddedByPhone);
|
session->api().userPrivacy().reload(Api::UserPrivacy::Key::AddedByPhone);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user