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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user