Fix search in chat close by "Cancel" link.

This commit is contained in:
John Preston 2024-06-01 10:52:48 +04:00
parent 3ba1941808
commit bb43afdd93

View file

@ -347,6 +347,7 @@ Widget::Widget(
}, lifetime());
_inner->cancelSearchRequests(
) | rpl::start_with_next([=] {
setInnerFocus(true);
applySearchState({});
}, lifetime());
_inner->chosenRow(