Fix init glitch in ComposeControls.

This commit is contained in:
John Preston 2023-07-14 14:58:06 +04:00
parent 5f5933c1b3
commit 1f69c61d51
1 changed files with 7 additions and 0 deletions

View File

@ -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();
}