diff --git a/apps/common/mobile/lib/view/SharingSettings.jsx b/apps/common/mobile/lib/view/SharingSettings.jsx index 6240961f5..29cf97e3e 100644 --- a/apps/common/mobile/lib/view/SharingSettings.jsx +++ b/apps/common/mobile/lib/view/SharingSettings.jsx @@ -7,20 +7,11 @@ const ViewSharingSettings = props => { const sharingSettingsUrl = props.sharingSettingsUrl; const _t = t('Common.Collaboration', {returnObjects: true}); - function resizeHeightIframe(selector) { - const iFrame = document.querySelector(selector); - iFrame.height = iFrame.contentWindow.document.body.scrollHeight; - }; - - useEffect(() => { - resizeHeightIframe('#sharing-placeholder iframe'); - }, []); - return (
- +
)