Skip to content

Commit 4a710ef

Browse files
committed
rename isPreviewPreTransformed to handlesCropAndRotation
1 parent 47148b9 commit 4a710ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScannerHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class MobileScannerHandler(
191191
"textureId" to it.id,
192192
"size" to mapOf("width" to it.width, "height" to it.height),
193193
"naturalDeviceOrientation" to it.naturalDeviceOrientation,
194-
"isPreviewPreTransformed" to it.isPreviewPreTransformed,
194+
"handlesCropAndRotation" to it.handlesCropAndRotation,
195195
"sensorOrientation" to it.sensorOrientation,
196196
"currentTorchState" to it.currentTorchState,
197197
"numberOfCameras" to it.numberOfCameras,

android/src/main/kotlin/dev/steenbakker/mobile_scanner/objects/MobileScannerStartParameters.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class MobileScannerStartParameters(
55
val height: Double,
66
val naturalDeviceOrientation: String,
77
val sensorOrientation: Int,
8-
val isPreviewPreTransformed: Boolean,
8+
val handlesCropAndRotation: Boolean,
99
val currentTorchState: Int,
1010
val id: Long,
1111
val numberOfCameras: Int,

0 commit comments

Comments
 (0)