Open diigel opened 2 months ago
Im tired to make this camera view full screen, can someone tell me please
@Composable fun PeekabooCameraView( modifier: Modifier = Modifier, onCapture: (ByteArray?) -> Unit, onBack: () -> Unit, ) { val state = rememberPeekabooCameraState(onCapture = onCapture) Box(modifier = modifier) { PeekabooCamera( state = state, modifier = Modifier.fillMaxSize(), permissionDeniedContent = { PermissionDenied() }, ) CameraOverlay( isCapturing = state.isCapturing, onBack = onBack, onCapture = { state.capture() }, onConvert = { state.toggleCamera() } ) } }
Im tired to make this camera view full screen, can someone tell me please