mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-11 20:31:47 +00:00
Adjusted some comment phrasing
This commit is contained in:
@@ -239,8 +239,8 @@ class QRCodeAnalyzer(
|
|||||||
try {
|
try {
|
||||||
val result: Result = qrCodeReader.decode(binaryBitmap)
|
val result: Result = qrCodeReader.decode(binaryBitmap)
|
||||||
val resultTxt = result.text
|
val resultTxt = result.text
|
||||||
// No need to close the image here - it'll always make it to the end, and calling
|
// No need to close the image here - it'll always make it to the end, and calling `onBarcodeScanned`
|
||||||
// `onBarcodeScanned` with a valid recovery code will stop calling this `analyze` method.
|
// with a valid contact / recovery phrase / community code will stop calling this `analyze` method.
|
||||||
onBarcodeScanned(resultTxt)
|
onBarcodeScanned(resultTxt)
|
||||||
}
|
}
|
||||||
catch (nfe: NotFoundException) { /* Hits if there is no QR code in the image */ }
|
catch (nfe: NotFoundException) { /* Hits if there is no QR code in the image */ }
|
||||||
|
|||||||
Reference in New Issue
Block a user