Fix build on macOS.

This commit is contained in:
John Preston
2025-10-01 12:56:59 +04:00
parent 1f17551bf4
commit 028437549d
@@ -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);