mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-19 21:06:10 +00:00
Unify main app + app extension logging
This commit is contained in:
1 parent
73e86ff65f
commit
23705c5e26
7 files changed
+85
-98
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user