mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Move Blocked users to Privacy in Settings.
This commit is contained in:
@@ -397,7 +397,11 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
||||
tr::lng_info_mobile_label(),
|
||||
PhoneOrHiddenValue(user),
|
||||
tr::lng_profile_copy_phone(tr::now)).text;
|
||||
const auto hook = [=](Ui::FlatLabel::ContextMenuRequest request) {
|
||||
using namespace Ui;
|
||||
const auto hook = [=](FlatLabel::ContextMenuRequest request) {
|
||||
if (user->phone().isEmpty()) {
|
||||
return;
|
||||
}
|
||||
phoneLabel->fillContextMenu(request);
|
||||
AddPhoneMenu(request.menu, user);
|
||||
};
|
||||
|
Reference in New Issue
Block a user