File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Sources/PowerSync/attachments Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -417,15 +417,15 @@ open class AttachmentQueue {
417417 }
418418
419419 let exists = try await localStorage. fileExists ( filePath: localUri)
420- if attachment. state == AttachmentState . synced ||
421- attachment. state == AttachmentState . queuedUpload &&
422- !exists
420+ if attachment. state == AttachmentState . synced
421+ || attachment. state == AttachmentState . queuedUpload && !exists
423422 {
424423 // The file must have been removed from the local storage
425- updates. append ( attachment. with (
426- state: . archived,
427- localUri: . some( nil ) // Clears the value
428- ) )
424+ updates. append (
425+ attachment. with (
426+ state: . archived,
427+ localUri: . some( nil ) // Clears the value
428+ ) )
429429 }
430430 }
431431
You can’t perform that action at this time.
0 commit comments