mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00: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