mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Fix build with Xcode.
This commit is contained in:
parent
18aaf3cc93
commit
cef43e7f06
1 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue