mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 {
|
} else {
|
||||||
_suggestions = nullptr;
|
_suggestions = nullptr;
|
||||||
_hidingSuggestions.clear();
|
_hidingSuggestions.clear();
|
||||||
|
storiesExplicitCollapse();
|
||||||
|
updateStoriesVisibility();
|
||||||
_scroll->show();
|
_scroll->show();
|
||||||
}
|
}
|
||||||
} else if (suggest && !_suggestions) {
|
} else if (suggest && !_suggestions) {
|
||||||
if (animated == anim::type::normal) {
|
if (animated == anim::type::normal) {
|
||||||
startWidthAnimation();
|
startWidthAnimation();
|
||||||
updateStoriesVisibility();
|
|
||||||
}
|
}
|
||||||
|
// Hides stories and passcode lock.
|
||||||
|
updateStoriesVisibility();
|
||||||
_suggestions = std::make_unique<Suggestions>(
|
_suggestions = std::make_unique<Suggestions>(
|
||||||
this,
|
this,
|
||||||
controller(),
|
controller(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue