2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +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

@@ -10,6 +10,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "api/api_report.h"
#include "menu/menu_check_item.h"
#include "boxes/share_box.h"
#include "boxes/star_gift_box.h"
#include "chat_helpers/compose/compose_show.h"
#include "chat_helpers/message_field.h"
#include "chat_helpers/share_message_phrase_factory.h"
@@ -1239,7 +1240,7 @@ void Filler::addGiftPremium() {
const auto navigation = _controller;
_addAction(tr::lng_profile_gift_premium(tr::now), [=] {
navigation->showGiftPremiumBox(user);
Ui::ChooseStarGiftRecipient(navigation, [] {});
}, &st::menuIconGiftPremium);
}