mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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) {
|
if (queryChanged) {
|
||||||
updateLockUnlockVisibility(anim::type::normal);
|
updateLockUnlockVisibility(anim::type::normal);
|
||||||
updateLoadMoreChatsVisibility();
|
updateLoadMoreChatsVisibility();
|
||||||
updateCancelSearch();
|
|
||||||
}
|
}
|
||||||
if (inChatChanged) {
|
if (inChatChanged) {
|
||||||
controller()->setSearchInChat(_searchState.inChat);
|
controller()->setSearchInChat(_searchState.inChat);
|
||||||
updateSearchTabs();
|
updateSearchTabs();
|
||||||
}
|
}
|
||||||
if (queryChanged || inChatChanged) {
|
if (queryChanged || inChatChanged) {
|
||||||
|
updateCancelSearch();
|
||||||
updateStoriesVisibility();
|
updateStoriesVisibility();
|
||||||
}
|
}
|
||||||
updateJumpToDateVisibility();
|
updateJumpToDateVisibility();
|
||||||
|
|
Loading…
Add table
Reference in a new issue