mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed description in box for boosting.
Regression was introduced in d82c422ea1
.
This commit is contained in:
parent
764b0d3dcd
commit
336705a503
1 changed files with 8 additions and 0 deletions
|
@ -63,6 +63,14 @@ void BoostBox(
|
||||||
data.boost,
|
data.boost,
|
||||||
st::boxRowPadding);
|
st::boxRowPadding);
|
||||||
|
|
||||||
|
{
|
||||||
|
const auto &d = data.boost;
|
||||||
|
if (!d.nextLevelBoosts
|
||||||
|
|| ((d.thisLevelBoosts == d.boosts) && d.mine)) {
|
||||||
|
--data.boost.level;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
box->addTopButton(st::boxTitleClose, [=] { box->closeBox(); });
|
box->addTopButton(st::boxTitleClose, [=] { box->closeBox(); });
|
||||||
|
|
||||||
const auto name = data.name;
|
const auto name = data.name;
|
||||||
|
|
Loading…
Add table
Reference in a new issue