Skip to content

Commit

Permalink
Version 5.1.6: Fix sticker effect filtering.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jun 13, 2024
1 parent a1d8202 commit c49eb70
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c49eb70

Please sign in to comment.