diff --git a/android/src/main/java/com/rssignaturecapture/RSSignatureCaptureViewManager.java b/android/src/main/java/com/rssignaturecapture/RSSignatureCaptureViewManager.java index 56c14656..eb8ca42f 100644 --- a/android/src/main/java/com/rssignaturecapture/RSSignatureCaptureViewManager.java +++ b/android/src/main/java/com/rssignaturecapture/RSSignatureCaptureViewManager.java @@ -73,7 +73,7 @@ public void setPropsWidth(RSSignatureCaptureMainView view, @Nullable Integer max } @ReactProp(name = PROPS_MIN_STROKE_WIDTH) - public void setPropsMinStrokeWidth(RSSignatureCaptureMainView view, @Nullable Integer minStrokeWidth) { + public void setPropsMinStrokeWidth(RSSignatureCaptureMainView view, @Nullable int minStrokeWidth) { Log.d("minStrokeWidth:", ""+minStrokeWidth); if(view!=null){ view.setMinStrokeWidth(minStrokeWidth); @@ -81,7 +81,7 @@ public void setPropsMinStrokeWidth(RSSignatureCaptureMainView view, @Nullable In } @ReactProp(name = PROPS_MIN_STROKE_WIDTH) - public void setPropsMaxStrokeWidth(RSSignatureCaptureMainView view, @Nullable Integer maxStrokeWidth) { + public void setPropsMaxStrokeWidth(RSSignatureCaptureMainView view, @Nullable int maxStrokeWidth) { Log.d("maxStrokeWidth:", ""+maxStrokeWidth); if(view!=null){ view.setMaxStrokeWidth(maxStrokeWidth);