mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed style of box for premium doubled limits.
This commit is contained in:
parent
0ffa88d0f3
commit
da6d580348
3 changed files with 3 additions and 4 deletions
|
@ -1679,14 +1679,14 @@ void DoubledLimitsPreviewBox(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
const auto premium = limits.dialogsFolderPinnedPremium();
|
const auto premium = limits.dialogsPinnedPremium();
|
||||||
entries.push_back(Ui::Premium::ListEntry{
|
entries.push_back(Ui::Premium::ListEntry{
|
||||||
tr::lng_premium_double_limits_subtitle_pins(),
|
tr::lng_premium_double_limits_subtitle_pins(),
|
||||||
tr::lng_premium_double_limits_about_pins(
|
tr::lng_premium_double_limits_about_pins(
|
||||||
lt_count,
|
lt_count,
|
||||||
rpl::single(float64(premium)),
|
rpl::single(float64(premium)),
|
||||||
Ui::Text::RichLangValue),
|
Ui::Text::RichLangValue),
|
||||||
limits.dialogsFolderPinnedDefault(),
|
limits.dialogsPinnedDefault(),
|
||||||
premium,
|
premium,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,7 +184,6 @@ private:
|
||||||
|
|
||||||
base::Timer _topRefreshTimer;
|
base::Timer _topRefreshTimer;
|
||||||
mtpRequestId _topRequestId = 0;
|
mtpRequestId _topRequestId = 0;
|
||||||
bool _topRequestScheduled = false;
|
|
||||||
uint64 _topHash = 0;
|
uint64 _topHash = 0;
|
||||||
|
|
||||||
mtpRequestId _recentRequestId = 0;
|
mtpRequestId _recentRequestId = 0;
|
||||||
|
|
|
@ -615,7 +615,7 @@ void Line::recache(const QSize &s) {
|
||||||
halfRect.setLeft(r.center().x());
|
halfRect.setLeft(r.center().x());
|
||||||
pathRect.addRect(halfRect);
|
pathRect.addRect(halfRect);
|
||||||
|
|
||||||
p.fillPath(pathRound + pathRect, st::windowShadowFgFallback);
|
p.fillPath(pathRound + pathRect, st::windowBgOver);
|
||||||
|
|
||||||
_leftPixmap = std::move(leftPixmap);
|
_leftPixmap = std::move(leftPixmap);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue