Add batch sticker sets management API support

This commit is contained in:
Ilya Laktyushin
2021-03-05 21:35:56 +04:00
parent 13fd591ee0
commit 2971bd2bd5
9 changed files with 4955 additions and 4822 deletions

View File

@@ -339,11 +339,6 @@ private final class StickerPackContainer: ASDisplayNode {
guard let strongSelf = self else {
return
}
var stickerSettings = StickerSettings.defaultSettings
if let value = sharedData.entries[ApplicationSpecificSharedDataKeys.stickerSettings] as? StickerSettings {
stickerSettings = value
}
if installed {
let _ = removeStickerPackInteractively(postbox: strongSelf.context.account.postbox, id: info.id, option: .delete).start()
} else {