Fixed display of button to show more boosts when boosts are too few.

This commit is contained in:
23rd 2023-10-22 22:37:07 +03:00 committed by John Preston
parent d0875a1178
commit f93b7a60f8
1 changed files with 3 additions and 0 deletions

View File

@ -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,