Skip to content

Commit

Permalink
Update java strokeWidth type
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lecoeur committed May 3, 2017
1 parent 75215a0 commit 83967fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ 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);
}
}

@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);
Expand Down

0 comments on commit 83967fa

Please sign in to comment.