@papyrus-sdk/ui-react-native 0.2.18-beta.1 → 0.2.18-beta.3

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.js CHANGED
@@ -24041,9 +24041,6 @@ function DedicatedAndroidPdfViewer({
24041
24041
  setSelection(null);
24042
24042
  selectionRef.current = null;
24043
24043
  }, []);
24044
- if (!engineId) {
24045
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_react_native3.View, { style: styles3.container });
24046
- }
24047
24044
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_react_native3.View, { style: styles3.container, children: [
24048
24045
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
24049
24046
  import_engine_native2.PapyrusPdfViewerView,
@@ -28587,11 +28584,10 @@ var SettingsSheet = ({
28587
28584
  engine.setZoom(next);
28588
28585
  setDocumentState({ zoom: next });
28589
28586
  };
28590
- if (!visible) return null;
28591
28587
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_native11.View, { style: styles11.modalRoot, pointerEvents: "box-none", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
28592
28588
  import_bottom_sheet2.default,
28593
28589
  {
28594
- index: 0,
28590
+ index: visible ? 0 : -1,
28595
28591
  snapPoints,
28596
28592
  enablePanDownToClose: true,
28597
28593
  onClose,