Fixed display of button to show more boosts when boosts are too few.
This commit is contained in:
parent
d0875a1178
commit
f93b7a60f8
|
@ -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…
Reference in New Issue