mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
fixed some formatting issues.
This commit is contained in:
parent
ec4ac6c74b
commit
ed2768828b
@ -475,7 +475,6 @@ public class RCTCamera {
|
||||
public int rotation = 0;
|
||||
public int previewWidth = -1;
|
||||
public int previewHeight = -1;
|
||||
public int previewHeight = -1;
|
||||
public float previewPaddingHeight = -1;
|
||||
public float previewPaddingWidth = -1;
|
||||
|
||||
|
@ -580,7 +580,7 @@ public class RCTCameraModule extends ReactContextBaseJavaModule
|
||||
}
|
||||
}
|
||||
|
||||
boolean shouldCropToPreview = options.hasKey(“cropToPreview”) && options.getBoolean(“cropToPreview”);
|
||||
boolean shouldCropToPreview = options.hasKey("cropToPreview") && options.getBoolean("cropToPreview");
|
||||
if (shouldCropToPreview) {
|
||||
try {
|
||||
int type = options.getInt("type");
|
||||
|
Loading…
x
Reference in New Issue
Block a user