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);