Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 4b7f7e8

Browse files
authored
More changes
1 parent 4821742 commit 4b7f7e8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Sources/prostore/views/CertificateView.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ struct AddCertificateView: View {
447447
isChecking = true
448448
errorMessage = ""
449449

450-
DispatchQueue.global(qos: .userInitiated).async(execute: {
450+
let workItem = DispatchWorkItem {
451451
do {
452452
var p12Data: Data
453453
var provData: Data
@@ -503,6 +503,7 @@ struct AddCertificateView: View {
503503
errorMessage = "Failed to read files or save: \(error.localizedDescription)"
504504
}
505505
}
506-
})
506+
}
507+
DispatchQueue.global(qos: .userInitiated).async(execute: workItem)
507508
}
508509
}

0 commit comments

Comments
 (0)