Skip to content

Commit

Permalink
Merge branch 'master' of [email protected]:wonday/react-native-pdf.git
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed Jun 25, 2023
2 parents dfcd325 + 1e69117 commit 3faca36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ public void setProperty(T view, String propName, @Nullable Object value) {
mViewManager.setHorizontal(view, value == null ? false : (boolean) value);
break;
case "showsHorizontalScrollIndicator":
// mViewManager.setShowsHorizontalScrollIndicator(view, value == null ? false : (boolean) value);
mViewManager.setShowsHorizontalScrollIndicator(view, value == null ? false : (boolean) value);
break;
case "showsVerticalScrollIndicator":
// mViewManager.setShowsVerticalScrollIndicator(view, value == null ? false : (boolean) value);
break;
mViewManager.setShowsVerticalScrollIndicator(view, value == null ? false : (boolean) value);
break;
case "enablePaging":
mViewManager.setEnablePaging(view, value == null ? false : (boolean) value);
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public interface RNPDFPdfViewManagerInterface<T extends View> {
void setMinScale(T view, float value);
void setMaxScale(T view, float value);
void setHorizontal(T view, boolean value);
void showsHorizontalScrollIndicator(T view, boolean value);
void showsVerticalScrollIndicator(T view, boolean value);
void setShowsHorizontalScrollIndicator(T view, boolean value);
void setShowsVerticalScrollIndicator(T view, boolean value);
void setEnablePaging(T view, boolean value);
void setEnableRTL(T view, boolean value);
void setEnableAnnotationRendering(T view, boolean value);
Expand Down

0 comments on commit 3faca36

Please sign in to comment.