mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fix cancel search glitch with the new search.
This commit is contained in:
parent
12eecec501
commit
86778aa4d9
1 changed files with 1 additions and 1 deletions
|
@ -2973,13 +2973,13 @@ bool Widget::applySearchState(SearchState state) {
|
|||
if (queryChanged) {
|
||||
updateLockUnlockVisibility(anim::type::normal);
|
||||
updateLoadMoreChatsVisibility();
|
||||
updateCancelSearch();
|
||||
}
|
||||
if (inChatChanged) {
|
||||
controller()->setSearchInChat(_searchState.inChat);
|
||||
updateSearchTabs();
|
||||
}
|
||||
if (queryChanged || inChatChanged) {
|
||||
updateCancelSearch();
|
||||
updateStoriesVisibility();
|
||||
}
|
||||
updateJumpToDateVisibility();
|
||||
|
|
Loading…
Add table
Reference in a new issue