From 028437549d64437dc35e40691d107db91c7f0b2d Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 1 Oct 2025 12:56:59 +0400 Subject: [PATCH] Fix build on macOS. --- Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp index 2d7b2cb03d..818624b594 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp @@ -493,7 +493,7 @@ void Controller::setupPhotoButtons() { })) | rpl::map([=](const QString &text) { return text.isEmpty() ? Ui::kQEllipsis : text; }) - : rpl::single(_user->shortName()); + : rpl::single(_user->shortName()) | rpl::type_erased(); const auto inner = _box->verticalLayout(); Ui::AddSkip(inner);