Move the NEW badge to gifts (market).

This commit is contained in:
John Preston 2025-07-14 11:29:48 +04:00
parent a285c1abec
commit 0132436dc8

View file

@ -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);
});