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
feat(filmstrip) fixed context menus for thumbnail
Calin Chitucce27baaf47a
diff --git a/react/features/filmstrip/components/native/Thumbnail.js b/react/features/filmstrip/components/native/Thumbnail.jsindex 0be04da64d..ad13033d94 100644--- a/react/features/filmstrip/components/native/Thumbnail.js+++ b/react/features/filmstrip/components/native/Thumbnail.js@@ -5,7 +5,6 @@ import { View } from 'react-native';import type { Dispatch } from 'redux';import { ColorSchemeRegistry } from '../../../base/color-scheme';-import { openDialog } from '../../../base/dialog';import { MEDIA_TYPE, VIDEO_TYPE } from '../../../base/media';import {PARTICIPANT_ROLE,@@ -23,10 +22,12 @@ import { StyleType } from '../../../base/styles';import { getTrackByMediaTypeAndParticipant } from '../../../base/tracks';import { ConnectionIndicator } from '../../../connection-indicator';import { DisplayNameLabel } from '../../../display-name';+import {+ showConnectionStatus,+ showContextMenuDetails,+ showSharedVideoMenu+} from '../../../participants-pane/actions.native';import { toggleToolboxVisible } from '../../../toolbox/actions.native';-import { RemoteVideoMenu } from '../../../video-menu';-import ConnectionStatusComponent from '../../../video-menu/components/native/ConnectionStatusComponent';-import SharedVideoMenu from '../../../video-menu/components/native/SharedVideoMenu';import { SQUARE_TILE_ASPECT_RATIO } from '../../constants';import AudioMutedIndicator from './AudioMutedIndicator';@@ -188,20 +189,16 @@ class Thumbnail extends PureComponent<Props> {_onThumbnailLongPress() {const { _participantId, _local, _isFakeParticipant, _localVideoOwner, dispatch } = this.props;- if (_local) {- dispatch(openDialog(ConnectionStatusComponent, {- participantID: _participantId- }));- } else if (_isFakeParticipant) {- if (_localVideoOwner) {- dispatch(openDialog(SharedVideoMenu, {- _participantId- }));+ if (_isFakeParticipant && _localVideoOwner) {+ dispatch(showSharedVideoMenu(_participantId));+ }++ if (!_isFakeParticipant) {+ if (_local) {+ dispatch(showConnectionStatus(_participantId));+ } else {+ dispatch(showContextMenuDetails(_participantId));}- } else {- dispatch(openDialog(RemoteVideoMenu, {- participantId: _participantId- }));}}