@papyrus-sdk/ui-react-native 0.2.18-beta.4 → 0.2.18-beta.5
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28550,7 +28550,6 @@ var SettingsSheet = ({
|
|
|
28550
28550
|
(0, import_react10.useEffect)(() => {
|
|
28551
28551
|
if (visible) setHasBeenVisible(true);
|
|
28552
28552
|
}, [visible]);
|
|
28553
|
-
if (!hasBeenVisible) return null;
|
|
28554
28553
|
const renderBackdrop = (0, import_react10.useCallback)(
|
|
28555
28554
|
(props) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
28556
28555
|
import_bottom_sheet2.BottomSheetBackdrop,
|
|
@@ -28589,6 +28588,7 @@ var SettingsSheet = ({
|
|
|
28589
28588
|
engine.setZoom(next);
|
|
28590
28589
|
setDocumentState({ zoom: next });
|
|
28591
28590
|
};
|
|
28591
|
+
if (!hasBeenVisible) return null;
|
|
28592
28592
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react_native11.View, { style: styles11.modalRoot, pointerEvents: "box-none", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
28593
28593
|
import_bottom_sheet2.default,
|
|
28594
28594
|
{
|