mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-06 12:03:41 +02:00
Move the NEW badge to gifts (market).
This commit is contained in:
parent
a285c1abec
commit
0132436dc8
1 changed files with 2 additions and 1 deletions
|
@ -805,7 +805,6 @@ void SetupPremium(
|
||||||
button->addClickHandler([=] {
|
button->addClickHandler([=] {
|
||||||
showOther(BusinessId());
|
showOther(BusinessId());
|
||||||
});
|
});
|
||||||
Ui::NewBadge::AddToRight(button);
|
|
||||||
|
|
||||||
if (controller->session().premiumCanBuy()) {
|
if (controller->session().premiumCanBuy()) {
|
||||||
const auto button = AddButtonWithIcon(
|
const auto button = AddButtonWithIcon(
|
||||||
|
@ -814,6 +813,8 @@ void SetupPremium(
|
||||||
st::settingsButton,
|
st::settingsButton,
|
||||||
{ .icon = &st::menuIconGiftPremium }
|
{ .icon = &st::menuIconGiftPremium }
|
||||||
);
|
);
|
||||||
|
Ui::NewBadge::AddToRight(button);
|
||||||
|
|
||||||
button->addClickHandler([=] {
|
button->addClickHandler([=] {
|
||||||
Ui::ChooseStarGiftRecipient(controller);
|
Ui::ChooseStarGiftRecipient(controller);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue