mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 06:37:24 +02:00
Fix passcode lock glitch with new search.
This commit is contained in:
parent
f03935ad9a
commit
e26b8e7ebc
1 changed files with 4 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue