Fix crash in group emoji set saving.

This commit is contained in:
John Preston 2024-05-23 13:06:38 +04:00
parent 685c7a865e
commit 4d4cf472c8
1 changed files with 1 additions and 1 deletions

View File

@ -509,7 +509,7 @@ TabbedSelector::TabbedSelector(
_st.categoriesBg); _st.categoriesBg);
}, lifetime()); }, lifetime());
if (hasEmojiTab()) { if (hasEmojiTab() && _mode == Mode::Full) {
session().data().stickers().emojiSetInstalled( session().data().stickers().emojiSetInstalled(
) | rpl::start_with_next([=](uint64 setId) { ) | rpl::start_with_next([=](uint64 setId) {
_tabsSlider->setActiveSection(indexByType(SelectorTab::Emoji)); _tabsSlider->setActiveSection(indexByType(SelectorTab::Emoji));