2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Move gift_credits_box -> star_gift_box, strip old code.

This commit is contained in:
John Preston
2024-09-30 12:08:22 +04:00
parent 3e63b40564
commit d361d5f3b2
13 changed files with 33 additions and 881 deletions

View File

@@ -26,7 +26,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "boxes/language_box.h"
#include "boxes/username_box.h"
#include "boxes/about_box.h"
#include "boxes/gift_credits_box.h"
#include "boxes/star_gift_box.h"
#include "ui/basic_click_handlers.h"
#include "ui/boxes/confirm_box.h"
#include "ui/controls/userpic_button.h"
@@ -528,8 +528,7 @@ void SetupPremium(
{ .icon = &st::menuIconGiftPremium }
);
button->addClickHandler([=] {
Ui::ShowGiftCreditsBox(controller, [=] {
});
Ui::ChooseStarGiftRecipient(controller, [] {});
});
}
Ui::AddSkip(container);