Fixed style of box for premium doubled limits.

This commit is contained in:
23rd 2022-08-28 05:52:26 +03:00 committed by John Preston
parent 0ffa88d0f3
commit da6d580348
3 changed files with 3 additions and 4 deletions

View file

@ -1679,14 +1679,14 @@ void DoubledLimitsPreviewBox(
});
}
{
const auto premium = limits.dialogsFolderPinnedPremium();
const auto premium = limits.dialogsPinnedPremium();
entries.push_back(Ui::Premium::ListEntry{
tr::lng_premium_double_limits_subtitle_pins(),
tr::lng_premium_double_limits_about_pins(
lt_count,
rpl::single(float64(premium)),
Ui::Text::RichLangValue),
limits.dialogsFolderPinnedDefault(),
limits.dialogsPinnedDefault(),
premium,
});
}

View file

@ -184,7 +184,6 @@ private:
base::Timer _topRefreshTimer;
mtpRequestId _topRequestId = 0;
bool _topRequestScheduled = false;
uint64 _topHash = 0;
mtpRequestId _recentRequestId = 0;

View file

@ -615,7 +615,7 @@ void Line::recache(const QSize &s) {
halfRect.setLeft(r.center().x());
pathRect.addRect(halfRect);
p.fillPath(pathRound + pathRect, st::windowShadowFgFallback);
p.fillPath(pathRound + pathRect, st::windowBgOver);
_leftPixmap = std::move(leftPixmap);
}