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(
}));
}();
{
const auto content = box->verticalLayout();
const auto self = show->session().user();
FillCreditOptions(show, content, self, creditsNeeded, done);
}
FillCreditOptions(
show,
box->verticalLayout(),
show->session().user(),
creditsNeeded,
done);
content->setMaximumHeight(st::creditsLowBalancePremiumCoverHeight);
content->setMinimumHeight(st::infoLayerTopBarHeight);