diff --git a/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerDelegate.java b/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerDelegate.java index 97ef352a..e7a42b8c 100644 --- a/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerDelegate.java +++ b/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerDelegate.java @@ -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; diff --git a/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerInterface.java b/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerInterface.java index 7c146c0e..42ba0a9a 100644 --- a/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerInterface.java +++ b/android/src/paper/java/com/facebook/react/viewmanagers/RNPDFPdfViewManagerInterface.java @@ -19,8 +19,8 @@ public interface RNPDFPdfViewManagerInterface { 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);