Fix: share extension was unable to export logs

This commit is contained in:
Leon Böttger committed 2025-07-25 14:18:34 +02:00
1 parent 7371208227
commit ae2fcfe886
23 files changed
+141 -102

No files matched your search

+3 -1
View File
@@ -109,6 +109,9 @@ class OutboundNearbyConnection: NearbyConnection {
try decryptAndProcessReceivedSecureMessage(smsg)
}
} catch {
log("Error occured while processing frame with data \(frameData.hex): \(error)")
if case NearbyError.ukey2 = error {
// do nothing
}
@@ -431,7 +434,6 @@ class OutboundNearbyConnection: NearbyConnection {
}
})
totalBytesSent += Int64(fileBuffer.count)
log("sent file chunk \(totalBytesSent)")
startInactivityTimer()
delegate?.outboundConnection(connection: self, transferProgress: Double(totalBytesSent) / Double(totalBytesToSend))