mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Adjusted some comment phrasing
This commit is contained in:
parent
fb5673161c
commit
a0028614f1
@ -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 */ }
|
||||||
|
Loading…
Reference in New Issue
Block a user