Qr screen
This commit is contained in:
@@ -29,6 +29,7 @@ fun DefaultScreen(
|
||||
qrCodeValue?.let {
|
||||
Text(text = "Scanned Value: $it", modifier = Modifier.padding(16.dp))
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ import com.google.mlkit.vision.common.InputImage
|
||||
|
||||
@Composable
|
||||
fun QRCodeScannerScreen(
|
||||
|
||||
onQRCodeScanned: (String) -> Unit,
|
||||
lifecycleOwner: LifecycleOwner = androidx.lifecycle.compose.LocalLifecycleOwner.current
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user