2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +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

@@ -17,6 +17,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "boxes/peers/edit_contact_box.h"
#include "boxes/report_messages_box.h"
#include "boxes/share_box.h"
#include "boxes/star_gift_box.h"
#include "boxes/translate_box.h"
#include "core/application.h"
#include "core/click_handler_types.h"
@@ -705,7 +706,7 @@ base::options::toggle ShowPeerIdBelowAbout({
button->setClickedCallback([=] {
if (!button->isDisabled()) {
controller->showGiftPremiumsBox(user, u"birthday"_q);
Ui::ShowStarGiftBox(controller, user, [] {});
}
});