Move Bio privacy up a bit.

This commit is contained in:
John Preston 2023-07-18 09:37:37 +04:00
parent 8818012182
commit 35214d108e
1 changed files with 4 additions and 4 deletions

View File

@ -281,6 +281,10 @@ void SetupPrivacy(
tr::lng_settings_profile_photo_privacy(),
Key::ProfilePhoto,
[] { return std::make_unique<ProfilePhotoPrivacyController>(); });
add(
tr::lng_settings_bio_privacy(),
Key::About,
[] { return std::make_unique<AboutPrivacyController>(); });
add(
tr::lng_settings_forwards_privacy(),
Key::Forwards,
@ -300,10 +304,6 @@ void SetupPrivacy(
tr::lng_settings_voices_privacy(),
Key::Voices,
[=] { 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);