diff --git a/react/features/base/ui/Tokens.js b/react/features/base/ui/Tokens.js index 9d411a3ef..8e54420ce 100644 --- a/react/features/base/ui/Tokens.js +++ b/react/features/base/ui/Tokens.js @@ -215,7 +215,7 @@ export const shape = { boxShadow: 'inset 0px -1px 0px rgba(255, 255, 255, 0.15)' }; -export const spacing = [ 0, 4, 8, 16, 24, 32, 40, 48, 56 ]; +export const spacing = [ 0, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80 ]; export const typography = { labelRegular: { diff --git a/react/features/participants-pane/components/native/ParticipantItem.js b/react/features/participants-pane/components/native/ParticipantItem.js index e2cdadc99..bf60df80c 100644 --- a/react/features/participants-pane/components/native/ParticipantItem.js +++ b/react/features/participants-pane/components/native/ParticipantItem.js @@ -18,14 +18,6 @@ import { import { RaisedHandIndicator } from './RaisedHandIndicator'; import styles from './styles'; -// /** -// * Participant actions component mapping depending on trigger type. -// */ -// const Actions = { -// [ActionTrigger.Hover]: ParticipantActionsHover, -// [ActionTrigger.Permanent]: ParticipantActionsPermanent -// }; - type Props = { /** diff --git a/react/features/participants-pane/components/native/ParticipantsPane.js b/react/features/participants-pane/components/native/ParticipantsPane.js index 2dbe1cc13..9b6a65d30 100644 --- a/react/features/participants-pane/components/native/ParticipantsPane.js +++ b/react/features/participants-pane/components/native/ParticipantsPane.js @@ -6,9 +6,11 @@ import { ScrollView, View } from 'react-native'; import { Button } from 'react-native-paper'; import { useDispatch } from 'react-redux'; -import { hideDialog } from '../../../base/dialog'; +import { hideDialog, openDialog } from '../../../base/dialog'; import { Icon, IconClose, IconHorizontalPoints } from '../../../base/icons'; import { JitsiModal } from '../../../base/modal'; +import MuteEveryoneDialog + from '../../../video-menu/components/native/MuteEveryoneDialog'; import { LobbyParticipantList } from './LobbyParticipantList'; import { MeetingParticipantList } from './MeetingParticipantList'; @@ -24,6 +26,8 @@ export function ParticipantsPane() { const closePane = useCallback( () => dispatch(hideDialog()), [ dispatch ]); + const muteAll = useCallback(() => dispatch(openDialog(MuteEveryoneDialog)), + [ dispatch ]); const { t } = useTranslation(); return ( @@ -51,6 +55,7 @@ export function ParticipantsPane() {