mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fixed display of button to show more boosts when boosts are too few.
This commit is contained in:
parent
d0875a1178
commit
f93b7a60f8
1 changed files with 3 additions and 0 deletions
|
@ -530,6 +530,9 @@ void AddBoostsList(
|
|||
object_ptr<PeerListContent>(container, &state->controller)));
|
||||
state->controller.setDelegate(&state->delegate);
|
||||
|
||||
if (max <= state->limit) {
|
||||
return;
|
||||
}
|
||||
const auto wrap = container->add(
|
||||
object_ptr<Ui::SlideWrap<Ui::SettingsButton>>(
|
||||
container,
|
||||
|
|
Loading…
Add table
Reference in a new issue