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(native-participants-pane) fixed mute all content styles and added doInvitePeople action
Calin Chituee101f8947e0
diff --git a/react/features/participants-pane/components/native/MeetingParticipantList.js b/react/features/participants-pane/components/native/MeetingParticipantList.jsindex df5a911ee9..a641c14533 100644--- a/react/features/participants-pane/components/native/MeetingParticipantList.js+++ b/react/features/participants-pane/components/native/MeetingParticipantList.js@@ -1,17 +1,25 @@// @flow-import React from 'react';+import React, { useCallback } from 'react';import { useTranslation } from 'react-i18next';import { Text, View } from 'react-native';import { Button } from 'react-native-paper';+import { useDispatch } from 'react-redux';+import { createToolbarEvent, sendAnalytics } from '../../../analytics';import { Icon, IconInviteMore } from '../../../base/icons';+import { doInvitePeople } from '../../../invite/actions.native';import { MeetingParticipantItem } from './MeetingParticipantItem';import { participants } from './participants';import styles from './styles';export const MeetingParticipantList = () => {+ const dispatch = useDispatch();+ const onInvite = useCallback(() => {+ sendAnalytics(createToolbarEvent('invite'));+ dispatch(doInvitePeople());+ }, [ dispatch ]);const { t } = useTranslation();return (@@ -30,6 +38,7 @@ export const MeetingParticipantList = () => {}labelStyle = { styles.inviteLabel }mode = 'contained'+ onPress = { onInvite }style = { styles.inviteButton } />{ participants.map(p => (<MeetingParticipantItemdiff --git a/react/features/participants-pane/components/native/ParticipantsPane.js b/react/features/participants-pane/components/native/ParticipantsPane.jsindex 9b6a65d304..f48b7a46a3 100644--- a/react/features/participants-pane/components/native/ParticipantsPane.js+++ b/react/features/participants-pane/components/native/ParticipantsPane.js@@ -54,7 +54,9 @@ export function ParticipantsPane() {<View style = { styles.footer }><Buttonchildren = { t('participantsPane.actions.muteAll') }+ contentStyle = { styles.muteAllContent }labelStyle = { styles.muteAllLabel }+ mode = 'contained'onPress = { muteAll }style = { styles.muteAllButton } /><Buttondiff --git a/react/features/participants-pane/components/native/styles.js b/react/features/participants-pane/components/native/styles.jsindex 886c645b2b..456b3ac2a1 100644--- a/react/features/participants-pane/components/native/styles.js+++ b/react/features/participants-pane/components/native/styles.js@@ -268,6 +268,10 @@ export default {left: BaseTheme.spacing[10] + BaseTheme.spacing[2]},+ muteAllContent: {+ ...buttonContent+ },+muteAllLabel: {color: BaseTheme.palette.text01,textTransform: 'capitalize'