Skip to content

Commit

Permalink
Fix build with Xcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Nov 28, 2024
1 parent 18aaf3c commit cef43e7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Telegram/SourceFiles/ui/widgets/expandable_peer_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,11 @@ void AddExpandablePeerList(
const auto it = map.find(peer->id);
return (it == map.end() || !it->second)
? richName
: TextWithEntities(
(u"(%1) "_q).arg(it->second)).append(richName);
: TextWithEntities{
(u"(%1) "_q).arg(it->second)
}.append(richName);
})
: std::move(name),
: std::move(name) | rpl::type_erased(),
st::defaultBoxCheckbox,
std::make_unique<Ui::CheckView>(
st::defaultCheck,
Expand Down

1 comment on commit cef43e7

@Chiiiiijjhcdhkkk
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+989186456150

Please sign in to comment.