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