|
@@ -7,7 +7,7 @@ import { Button } from 'react-native-paper';
|
7
|
7
|
import { useDispatch, useSelector } from 'react-redux';
|
8
|
8
|
|
9
|
9
|
import { openDialog } from '../../../base/dialog';
|
10
|
|
-import { Icon, IconClose, IconHorizontalPoints } from '../../../base/icons';
|
|
10
|
+import { Icon, IconHorizontalPoints } from '../../../base/icons';
|
11
|
11
|
import { JitsiModal } from '../../../base/modal';
|
12
|
12
|
import {
|
13
|
13
|
getParticipantCount,
|
|
@@ -40,21 +40,11 @@ const ParticipantsPane = () => {
|
40
|
40
|
|
41
|
41
|
return (
|
42
|
42
|
<JitsiModal
|
43
|
|
- hideHeaderWithNavigation = { true }
|
|
43
|
+ headerProps = {{
|
|
44
|
+ headerLabelKey: 'participantsPane.header'
|
|
45
|
+ }}
|
|
46
|
+ onClose = { closePane }
|
44
|
47
|
style = { styles.participantsPane }>
|
45
|
|
- <View style = { styles.header }>
|
46
|
|
- <Button
|
47
|
|
- /* eslint-disable-next-line react/jsx-no-bind */
|
48
|
|
- icon = { () =>
|
49
|
|
- (<Icon
|
50
|
|
- size = { 20 }
|
51
|
|
- src = { IconClose } />)
|
52
|
|
- }
|
53
|
|
- labelStyle = { styles.closeIcon }
|
54
|
|
- mode = 'contained'
|
55
|
|
- onPress = { closePane }
|
56
|
|
- style = { styles.closeButton } />
|
57
|
|
- </View>
|
58
|
48
|
<ScrollView>
|
59
|
49
|
<LobbyParticipantList />
|
60
|
50
|
<MeetingParticipantList />
|