[Improvement] "Nobody" option for profile picture privacy
This commit is contained in:
parent
abd6f9b53e
commit
bb83e24dcf
2 changed files with 3 additions and 1 deletions
|
|
@ -1025,9 +1025,11 @@ rpl::producer<QString> ProfilePhotoPrivacyController::title() const {
|
|||
return tr::lng_edit_privacy_profile_photo_title();
|
||||
}
|
||||
|
||||
/*
|
||||
bool ProfilePhotoPrivacyController::hasOption(Option option) const {
|
||||
return (option != Option::Nobody);
|
||||
}
|
||||
*/
|
||||
|
||||
rpl::producer<QString> ProfilePhotoPrivacyController::optionsTitleKey() const {
|
||||
return tr::lng_edit_privacy_profile_photo_header();
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ public:
|
|||
Key key() const override;
|
||||
|
||||
rpl::producer<QString> title() const override;
|
||||
bool hasOption(Option option) const override;
|
||||
//bool hasOption(Option option) const override;
|
||||
rpl::producer<QString> optionsTitleKey() const override;
|
||||
rpl::producer<QString> exceptionButtonTextKey(
|
||||
Exception exception) const override;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue