mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-21 13:12:50 +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([=] {
|
||||
showOther(BusinessId());
|
||||
});
|
||||
Ui::NewBadge::AddToRight(button);
|
||||
|
||||
if (controller->session().premiumCanBuy()) {
|
||||
const auto button = AddButtonWithIcon(
|
||||
|
@ -814,6 +813,8 @@ void SetupPremium(
|
|||
st::settingsButton,
|
||||
{ .icon = &st::menuIconGiftPremium }
|
||||
);
|
||||
Ui::NewBadge::AddToRight(button);
|
||||
|
||||
button->addClickHandler([=] {
|
||||
Ui::ChooseStarGiftRecipient(controller);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue