Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
[RN] Dismiss OverflowMenu after selecting an option
Saúl Ibarra Corretgéa8b1ca38dc61
diff --git a/react/features/toolbox/components/native/OverflowMenu.js b/react/features/toolbox/components/native/OverflowMenu.jsindex f29354c567..01fd32b477 100644--- a/react/features/toolbox/components/native/OverflowMenu.js+++ b/react/features/toolbox/components/native/OverflowMenu.js@@ -56,23 +56,19 @@ class OverflowMenu extends Component<Props> {* @returns {ReactElement}*/render() {+ const buttonProps = {+ afterClick: this._onCancel,+ showLabel: true,+ styles: overflowMenuItemStyles+ };+return (<BottomSheet onCancel = { this._onCancel }>- <AudioRouteButton- showLabel = { true }- styles = { overflowMenuItemStyles } />- <ToggleCameraButton- showLabel = { true }- styles = { overflowMenuItemStyles } />- <AudioOnlyButton- showLabel = { true }- styles = { overflowMenuItemStyles } />- <RoomLockButton- showLabel = { true }- styles = { overflowMenuItemStyles } />- <PictureInPictureButton- showLabel = { true }- styles = { overflowMenuItemStyles } />+ <AudioRouteButton { ...buttonProps } />+ <ToggleCameraButton { ...buttonProps } />+ <AudioOnlyButton { ...buttonProps } />+ <RoomLockButton { ...buttonProps } />+ <PictureInPictureButton { ...buttonProps } /></BottomSheet>);}