Fix build with Xcode.

This commit is contained in:
John Preston
2025-07-14 19:06:36 +04:00
parent c998352ab7
commit a770e47575
4 changed files with 6 additions and 4 deletions
@@ -378,7 +378,7 @@ void CreateModerateMessagesBox(
rpl::conditional(
(ownedWrap
? ownedWrap->toggledValue()
: rpl::single(false)),
: rpl::single(false) | rpl::type_erased()),
tr::lng_restrict_user(
lt_count,
rpl::single(participants.size()) | tr::to_count()),