mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-11-30 12:44:51 +00:00
fixed async in download all!
now need to figure out how to use all cores
This commit is contained in:
4 files changed
+65
-16
No files matched your search
@@ -92,7 +92,9 @@ struct SettingsView: View {
|
||||
|
||||
Section("Use with Caution") {
|
||||
Button("download all", role: .destructive) {
|
||||
hoarder.downloadAllStickers()
|
||||
Task {
|
||||
await hoarder.downloadAllStickers()
|
||||
}
|
||||
}
|
||||
Button("delete all", role: .destructive) {
|
||||
hoarder.deleteAllStickers()
|
||||
|
||||