@papyrus-sdk/ui-react-native 0.2.18-beta.0 → 0.2.18-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -24031,7 +24031,9 @@ function DedicatedAndroidPdfViewer({
24031
24031
  setSelection(null);
24032
24032
  selectionRef.current = null;
24033
24033
  }, []);
24034
- if (!engineId) return null;
24034
+ if (!engineId) {
24035
+ return /* @__PURE__ */ jsx4(View3, { style: styles3.container });
24036
+ }
24035
24037
  return /* @__PURE__ */ jsxs4(View3, { style: styles3.container, children: [
24036
24038
  /* @__PURE__ */ jsx4(
24037
24039
  PapyrusPdfViewerView,
@@ -28605,11 +28607,10 @@ var SettingsSheet = ({
28605
28607
  engine.setZoom(next);
28606
28608
  setDocumentState({ zoom: next });
28607
28609
  };
28608
- if (!visible) return null;
28609
28610
  return /* @__PURE__ */ jsx12(View11, { style: styles11.modalRoot, pointerEvents: "box-none", children: /* @__PURE__ */ jsx12(
28610
28611
  BottomSheet2,
28611
28612
  {
28612
- index: 0,
28613
+ index: visible ? 0 : -1,
28613
28614
  snapPoints,
28614
28615
  enablePanDownToClose: true,
28615
28616
  onClose,