Added Add-to-Emoji-Set option to menu for small packless stickers.

This commit is contained in:
23rd
2026-04-22 13:35:47 +03:00
parent f778829e81
commit cbef2a0cfc
4 changed files with 26 additions and 2 deletions
@@ -3186,7 +3186,7 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
showStickerPackInfo(document);
}, &st::menuIconStickers);
} else {
Api::AddAddToStickerSetAction(
Api::AddAddToOwnedSetAction(
Ui::Menu::CreateAddActionCallback(_menu),
_controller->uiShow(),
document);
@@ -293,7 +293,7 @@ void AddDocumentActions(
&st::menuIconStickers);
}
if (document->sticker() && !document->sticker()->set) {
Api::AddAddToStickerSetAction(
Api::AddAddToOwnedSetAction(
Ui::Menu::CreateAddActionCallback(menu),
controller->uiShow(),
document);