mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Add close buttons to AuctionGotGiftsBox.
This commit is contained in:
@@ -845,6 +845,8 @@ void AuctionGotGiftsBox(
|
||||
tr::lng_auction_bought_title(lt_count, rpl::single(count * 1.)));
|
||||
box->setWidth(st::boxWideWidth);
|
||||
box->setMaxHeight(st::boxWideWidth * 2);
|
||||
box->addButton(tr::lng_box_ok(), [=] { box->closeBox(); });
|
||||
box->addTopButton(st::boxTitleClose, [=] { box->closeBox(); });
|
||||
|
||||
auto helper = Text::CustomEmojiHelper(Core::TextContext({
|
||||
.session = &show->session(),
|
||||
|
||||
Reference in New Issue
Block a user