Qr screen

This commit is contained in:
sathwikcs
2024-10-19 11:46:21 +05:30
parent 4c2e12f075
commit dfea713a26
2 changed files with 2 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ fun DefaultScreen(
qrCodeValue?.let {
Text(text = "Scanned Value: $it", modifier = Modifier.padding(16.dp))
}
}
}

View File

@@ -22,6 +22,7 @@ import com.google.mlkit.vision.common.InputImage
@Composable
fun QRCodeScannerScreen(
onQRCodeScanned: (String) -> Unit,
lifecycleOwner: LifecycleOwner = androidx.lifecycle.compose.LocalLifecycleOwner.current
) {