--- ../node_modules/react-native-camera-kit/android/src/main/java/com/rncamerakit/CKCamera.kt 2023-11-10 11:25:36 +++ ../node_modules/react-native-camera-kit/android/src/main/java/com/rncamerakit/CKCamera.kt 2023-11-10 11:25:42 @@ -180,7 +180,7 @@ orientationListener!!.enable() val scaleDetector = ScaleGestureDetector(context, object: ScaleGestureDetector.SimpleOnScaleGestureListener() { - override fun onScale(detector: ScaleGestureDetector?): Boolean { + override fun onScale(detector: ScaleGestureDetector): Boolean { if (zoomMode == "off") return true val cameraControl = camera?.cameraControl ?: return true val zoom = camera?.cameraInfo?.zoomState?.value?.zoomRatio ?: return true --- ../node_modules/react-native-camera-kit/dist/CameraScreen.js 2024-09-01 13:00:57 +++ ../node_modules/react-native-camera-kit/dist/CameraScreen.js 2024-09-01 13:00:46 @@ -61,14 +61,14 @@ )); } renderTorchButton() { - return (!this.isCaptureRetakeMode() && ( this.onSetTorch()}> - + return (!this.isCaptureRetakeMode() && ( this.onSetTorch()}> + )); } renderSwitchCameraButton() { return (this.props.cameraFlipImage && - !this.isCaptureRetakeMode() && ( this.onSwitchCameraPressed()}> - + !this.isCaptureRetakeMode() && ( this.onSwitchCameraPressed()}> + )); } renderTopButtons() { \ No newline at end of file @@ -228,8 +228,8 @@ flex: 1, flexDirection: 'row', justifyContent: 'space-between', - paddingTop: 8, - paddingBottom: 0, + paddingTop:44, + paddingHorizontal: 16, }, cameraContainer: Object.assign({}, Platform.select({ android: { \ No newline at end of file