Skip to content

Commit

Permalink
fix(deps): update dependency androidx.core:core-ktx to v1.13.0 (#2001)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
  • Loading branch information
renovate[bot] and tido64 committed Apr 29, 2024
1 parent 1471e88 commit 33b4292
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Expand Up @@ -59,11 +59,14 @@ class QRCodeScannerFragment(
for (barcode in barcodes) {
when (barcode.valueType) {
Barcode.TYPE_URL -> {
// Close the scanner otherwise it will keep posting results
scanner.close()
mainThreadHandler.post {
dismiss()
consumer.accept(barcode.url?.url)
barcode.url?.url?.let {
// Close the scanner otherwise it will keep
// posting results
scanner.close()
mainThreadHandler.post {
dismiss()
consumer.accept(it)
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/dependencies.gradle
Expand Up @@ -62,7 +62,7 @@ ext {
androidAppCompat : "androidx.appcompat:appcompat:1.6.1",
androidCamera : "androidx.camera:camera-camera2:1.3.0-beta02",
androidCameraMlKitVision : "androidx.camera:camera-mlkit-vision:1.3.0-beta02",
androidCoreKotlinExtensions : "androidx.core:core-ktx:1.12.0",
androidCoreKotlinExtensions : "androidx.core:core-ktx:1.13.0",
androidEspressoCore : "androidx.test.espresso:espresso-core:3.5.1",
androidJUnit : "androidx.test.ext:junit:1.1.5",
androidJUnitKotlinExtensions: "androidx.test.ext:junit-ktx:1.1.5",
Expand Down

0 comments on commit 33b4292

Please sign in to comment.