Fix crash in group emoji set saving.
This commit is contained in:
parent
685c7a865e
commit
4d4cf472c8
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue