mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +00:00
Start UI of the new gift sending box.
This commit is contained in:
@@ -26,6 +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 "ui/basic_click_handlers.h"
|
||||
#include "ui/boxes/confirm_box.h"
|
||||
#include "ui/controls/userpic_button.h"
|
||||
@@ -527,7 +528,8 @@ void SetupPremium(
|
||||
{ .icon = &st::menuIconGiftPremium }
|
||||
);
|
||||
button->addClickHandler([=] {
|
||||
controller->showGiftPremiumsBox(u"gift"_q);
|
||||
Ui::ShowGiftCreditsBox(controller, [=] {
|
||||
});
|
||||
});
|
||||
}
|
||||
Ui::AddSkip(container);
|
||||
|
Reference in New Issue
Block a user