Unify main app + app extension logging

This commit is contained in:
Leon Böttger committed 2025-07-23 14:21:58 +02:00
1 parent 73e86ff65f
commit 23705c5e26
7 files changed
+85 -98

No files matched your search

+1 -1
View File
@@ -420,8 +420,8 @@ class OutboundNearbyConnection: NearbyConnection {
self.protocolError()
}
})
log("sent file chunk, current transfer: \(String(describing: currentTransfer))")
totalBytesSent += Int64(fileBuffer.count)
log("sent file chunk \(totalBytesSent)")
delegate?.outboundConnection(connection: self, transferProgress: Double(totalBytesSent) / Double(totalBytesToSend))
if currentTransfer!.currentOffset == currentTransfer!.totalBytes {