Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(dialog) removed native CustomDialog

Calin Chitub5c68c2b6ab7
diff --git a/react/features/base/dialog/components/native/CustomDialog.js b/react/features/base/dialog/components/native/CustomDialog.js
deleted file mode 100644
index f7702a5697..0000000000
--- a/react/features/base/dialog/components/native/CustomDialog.js
+++ /dev/null
@@ -1,23 +0,0 @@
-// @flow
-
-import { connect } from '../../../redux';
-import { _abstractMapStateToProps } from '../../functions';
-
-import BaseDialog, { type Props } from './BaseDialog';
-
-/**
- * Implements a custom dialog component, where the content can freely be
- * rendered.
- */
-class CustomDialog extends BaseDialog<Props, *> {
- /**
- * Implements {@code BaseDialog._renderContent}.
- *
- * @inheritdoc
- */
- _renderContent() {
- return this.props.children;
- }
-}
-
-export default connect(_abstractMapStateToProps)(CustomDialog);
diff --git a/react/features/base/dialog/components/native/index.js b/react/features/base/dialog/components/native/index.js
index aabd917c03..078a1417e9 100644
--- a/react/features/base/dialog/components/native/index.js
+++ b/react/features/base/dialog/components/native/index.js
@@ -2,7 +2,6 @@
export { default as BottomSheet } from './BottomSheet';
export { default as ConfirmDialog } from './ConfirmDialog';
-export { default as CustomDialog } from './CustomDialog';
export { default as DialogContainer } from './DialogContainer';
export { default as AlertDialog } from './AlertDialog';
export { default as InputDialog } from './InputDialog';