diff --git a/Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp b/Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp index b83401fab0..2b019dbc9e 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_top_bar_suggestion.cpp @@ -182,6 +182,9 @@ rpl::producer*> TopBarSuggestionValue( const QString &peers, uint64 needed, uint64 whole) { + if (whole > needed) { + return; + } content->setRightIcon(RightIcon::Close); content->setLeftPadding(0); content->setClickedCallback([=] {