Fix passcode lock glitch with new search.

This commit is contained in:
John Preston 2024-05-20 17:45:30 +04:00
parent f03935ad9a
commit e26b8e7ebc

View file

@ -1169,13 +1169,16 @@ void Widget::updateSuggestions(anim::type animated) {
} else {
_suggestions = nullptr;
_hidingSuggestions.clear();
storiesExplicitCollapse();
updateStoriesVisibility();
_scroll->show();
}
} else if (suggest && !_suggestions) {
if (animated == anim::type::normal) {
startWidthAnimation();
updateStoriesVisibility();
}
// Hides stories and passcode lock.
updateStoriesVisibility();
_suggestions = std::make_unique<Suggestions>(
this,
controller(),