2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-22 10:17:10 +00:00

Fix build with Xcode.

This commit is contained in:
John Preston 2025-07-31 23:00:06 +04:00
parent 003e42a2ae
commit 057b8d9e74

View File

@ -152,7 +152,8 @@ void PostsSearchIntro::setup() {
}) | rpl::flatten_latest();
auto footer = _state.value(
) | rpl::map([](const PostsSearchIntroState &state) {
) | rpl::map([](const PostsSearchIntroState &state)
-> rpl::producer<QString> {
if (state.needsPremium) {
return tr::lng_posts_need_subscribe();
} else if (state.freeSearchesLeft > 0) {