mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix init glitch in ComposeControls.
This commit is contained in:
parent
5f5933c1b3
commit
1f69c61d51
1 changed files with 7 additions and 0 deletions
|
@ -778,6 +778,13 @@ SuggestionsController::SuggestionsController(
|
|||
|
||||
updateForceHidden();
|
||||
|
||||
_container->shownValue(
|
||||
) | rpl::filter([=](bool shown) {
|
||||
return shown && !_shown;
|
||||
}) | rpl::start_with_next([=] {
|
||||
_container->hide();
|
||||
}, _container->lifetime());
|
||||
|
||||
handleTextChange();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue