Skip to content

Commit 96c0d7a

Browse files
committed
cleaning some parts
1 parent 06f9e59 commit 96c0d7a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Sources/QRCodeReader.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,18 +344,17 @@ public final class QRCodeReader: NSObject, AVCaptureMetadataOutputObjectsDelegat
344344
if stopScanningWhenCodeIsFound {
345345
stopScanning()
346346
}
347-
347+
348348
let scannedResult = QRCodeReaderResult(value: sVal, metadataType:_readableCodeObject.type)
349-
349+
350350
DispatchQueue.main.async(execute: { [weak self] in
351351
self?.didFindCode?(scannedResult)
352352
})
353353
}
354354
}
355355
}
356356
else {
357-
NSLog("Could not retrieve a valid string value for code type \(_readableCodeObject.type)")
358-
self.didFailDecoding?()
357+
didFailDecoding?()
359358
}
360359
}
361360
}

0 commit comments

Comments
 (0)