mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Start gift value information display.
This commit is contained in:
@@ -199,7 +199,7 @@ void PostsSearchIntro::setup() {
|
||||
|
||||
_state.value(
|
||||
) | rpl::start_with_next([=](const PostsSearchIntroState &state) {
|
||||
if (state.query.trimmed().isEmpty()) {
|
||||
if (state.query.trimmed().isEmpty() && !state.needsPremium) {
|
||||
_button->resize(_button->width(), 0);
|
||||
_content->resizeToWidth(width());
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user