mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Show informative empty posts search.
This commit is contained in:
@@ -2020,6 +2020,10 @@ void Suggestions::setupPostsIntro(const PostsSearchIntroState &intro) {
|
||||
}
|
||||
}, _postsSearchIntro->lifetime());
|
||||
|
||||
_postsScroll->heightValue() | rpl::start_with_next([=](int height) {
|
||||
_postsWrap->resize(_postsWrap->width(), height);
|
||||
}, _postsSearchIntro->lifetime());
|
||||
|
||||
_postsSearchIntro->show();
|
||||
updateControlsGeometry();
|
||||
}
|
||||
|
Reference in New Issue
Block a user