mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -165,10 +165,11 @@ void AddExpandablePeerList(
|
|||||||
const auto it = map.find(peer->id);
|
const auto it = map.find(peer->id);
|
||||||
return (it == map.end() || !it->second)
|
return (it == map.end() || !it->second)
|
||||||
? richName
|
? richName
|
||||||
: TextWithEntities(
|
: TextWithEntities{
|
||||||
(u"(%1) "_q).arg(it->second)).append(richName);
|
(u"(%1) "_q).arg(it->second)
|
||||||
|
}.append(richName);
|
||||||
})
|
})
|
||||||
: std::move(name),
|
: std::move(name) | rpl::type_erased(),
|
||||||
st::defaultBoxCheckbox,
|
st::defaultBoxCheckbox,
|
||||||
std::make_unique<Ui::CheckView>(
|
std::make_unique<Ui::CheckView>(
|
||||||
st::defaultCheck,
|
st::defaultCheck,
|
||||||
|
Reference in New Issue
Block a user