mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
al;jsf
This commit is contained in:
1 file changed
+2
-2
@@ -264,8 +264,8 @@ class EmojiHoarder: BaseHoarder {
|
|||||||
nonisolated override func delete(emoji: any StickerProtocol, skipStoreIndex: Bool = false) async {
|
nonisolated override func delete(emoji: any StickerProtocol, skipStoreIndex: Bool = false) async {
|
||||||
await super.delete(emoji: emoji, skipStoreIndex: skipStoreIndex)
|
await super.delete(emoji: emoji, skipStoreIndex: skipStoreIndex)
|
||||||
|
|
||||||
await MainActor.run {
|
if !skipStoreIndex {
|
||||||
if !skipStoreIndex {
|
await MainActor.run {
|
||||||
let _ = withAnimation(.snappy) {
|
let _ = withAnimation(.snappy) {
|
||||||
downloadedStickers.remove(emoji.name)
|
downloadedStickers.remove(emoji.name)
|
||||||
downloadedStickersArr.removeAll(where: { $0 == emoji.name })
|
downloadedStickersArr.removeAll(where: { $0 == emoji.name })
|
||||||
|
|||||||