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:
parent
003e42a2ae
commit
057b8d9e74
@ -152,7 +152,8 @@ void PostsSearchIntro::setup() {
|
|||||||
}) | rpl::flatten_latest();
|
}) | rpl::flatten_latest();
|
||||||
|
|
||||||
auto footer = _state.value(
|
auto footer = _state.value(
|
||||||
) | rpl::map([](const PostsSearchIntroState &state) {
|
) | rpl::map([](const PostsSearchIntroState &state)
|
||||||
|
-> rpl::producer<QString> {
|
||||||
if (state.needsPremium) {
|
if (state.needsPremium) {
|
||||||
return tr::lng_posts_need_subscribe();
|
return tr::lng_posts_need_subscribe();
|
||||||
} else if (state.freeSearchesLeft > 0) {
|
} else if (state.freeSearchesLeft > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user