Merge pull request #5891 from element-hq/feature/bma/qrCodeScannerCleanup

Qr code scanner cleanup
This commit is contained in:
Benoit Marty 2025-12-12 17:24:01 +01:00 committed by GitHub
commit a571996ff3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 93 additions and 89 deletions

View file

@ -106,7 +106,7 @@ private fun Content(
QrCodeCameraView(
modifier = Modifier.fillMaxSize(),
onScanQrCode = { state.eventSink.invoke(QrCodeScanEvents.QrCodeScanned(it)) },
renderPreview = state.isScanning,
isScanning = state.isScanning,
)
}
}