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