Display collectible-based user reply bars.

This commit is contained in:
John Preston
2025-09-26 11:27:09 +04:00
parent 520b84f967
commit 26be7840b4
23 changed files with 1143 additions and 532 deletions
@@ -40,6 +40,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "styles/style_boxes.h" // peerListSingleRow.
#include "styles/style_credits.h" // starIconEmoji.
#include "styles/style_dialogs.h" // recentPeersSpecialName.
#include "styles/style_info.h" // defaultSubTabs.
#include "styles/style_layers.h" // boxLabel.
namespace {
@@ -810,6 +811,7 @@ void ShowBuyResaleGiftBox(
const auto tabs = box->addRow(
object_ptr<Ui::SubTabs>(
box,
st::defaultSubTabs,
Ui::SubTabsOptions{
.selected = (state->ton.current()
? u"ton"_q