Version 5.1.6: Fix sticker effect filtering.

This commit is contained in:
John Preston 2024-06-13 20:55:49 +04:00
parent a1d8202644
commit c49eb7041f

View file

@ -1116,7 +1116,13 @@ void Selector::createList() {
_list->searchQueries(
) | rpl::start_with_next([=](std::vector<QString> &&query) {
_stickers->applySearchQuery(std::move(query));
updateVisibleTopBottom();
}, _stickers->lifetime());
rpl::combine(
_list->heightValue(),
_stickers->heightValue()
) | rpl::start_with_next([=] {
InvokeQueued(lists, updateVisibleTopBottom);
}, _stickers->lifetime());
rpl::combine(