Removed window session controller usage from list of credit options.

This commit is contained in:
23rd 2024-07-17 16:09:43 +03:00 committed by John Preston
parent 24b93a5eff
commit b8a19b56b6

View file

@ -864,11 +864,12 @@ void SmallBalanceBox(
})); }));
}(); }();
{ FillCreditOptions(
const auto content = box->verticalLayout(); show,
const auto self = show->session().user(); box->verticalLayout(),
FillCreditOptions(show, content, self, creditsNeeded, done); show->session().user(),
} creditsNeeded,
done);
content->setMaximumHeight(st::creditsLowBalancePremiumCoverHeight); content->setMaximumHeight(st::creditsLowBalancePremiumCoverHeight);
content->setMinimumHeight(st::infoLayerTopBarHeight); content->setMinimumHeight(st::infoLayerTopBarHeight);