We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7aa766 commit 5fabbaaCopy full SHA for 5fabbaa
apps/Test App/Test App/Model/UploadListModel.swift
@@ -17,20 +17,7 @@ class UploadListModel : ObservableObject {
17
handler: { uploads in
18
var uploadSet = Set(self.lastKnownUploads)
19
uploads.forEach {
20
-
21
- if case MuxUpload.InputStatus.ready = $0.inputStatus {
22
- return
23
- } else if case MuxUpload.InputStatus.started = $0.inputStatus {
24
25
- } else if case MuxUpload.InputStatus.preparing = $0.inputStatus {
26
27
- } else if case MuxUpload.InputStatus.awaitingUploadConfirmation = $0.inputStatus {
28
29
- } else {
30
- uploadSet.insert($0)
31
- }
32
33
+ uploadSet.insert($0)
34
}
35
self.lastKnownUploads = Array(uploadSet)
36
.sorted(
0 commit comments