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