Start showing gifts from stories.

This commit is contained in:
John Preston
2025-01-07 14:52:25 +04:00
parent dcb98ce0fb
commit 51213b499f
32 changed files with 347 additions and 314 deletions
@@ -773,9 +773,7 @@ void StickerSetBox::updateButtons() {
- st.buttonPadding.left()
- st.buttonPadding.left());
button->setClickedCallback([=] {
using namespace ChatHelpers;
const auto usage = WindowUsage::PremiumPromo;
if (const auto window = _show->resolveWindow(usage)) {
if (const auto window = _show->resolveWindow()) {
Settings::ShowPremium(window, u"animated_emoji"_q);
}
});