mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
async download and deletion
still gotta verify its actually async tho lmfao
This commit is contained in:
10 files changed
+66
-41
No files matched your search
@@ -78,7 +78,9 @@ struct DownloadedView: View {
|
||||
}
|
||||
Divider()
|
||||
Button("Delete", systemImage: "trash.fill", role: .destructive) {
|
||||
emojiHoarder.delete(emoji: emoji)
|
||||
Task {
|
||||
await emojiHoarder.delete(emoji: emoji)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||