mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix cancel search glitch with the new search.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user