|
|
@@ -7,11 +7,11 @@ import Collapsible from 'react-native-collapsible';
|
|
7
|
7
|
import { ColorSchemeRegistry } from '../../../base/color-scheme';
|
|
8
|
8
|
import { BottomSheet, hideDialog, isDialogOpen } from '../../../base/dialog';
|
|
9
|
9
|
import { IconDragHandle } from '../../../base/icons';
|
|
10
|
|
-import { CHAT_ENABLED, IOS_RECORDING_ENABLED, getFeatureFlag } from '../../../base/flags';
|
|
|
10
|
+import { IOS_RECORDING_ENABLED, getFeatureFlag } from '../../../base/flags';
|
|
11
|
11
|
import { connect } from '../../../base/redux';
|
|
12
|
12
|
import { StyleType } from '../../../base/styles';
|
|
13
|
13
|
import { SharedDocumentButton } from '../../../etherpad';
|
|
14
|
|
-import { InfoDialogButton, InviteButton } from '../../../invite';
|
|
|
14
|
+import { InviteButton } from '../../../invite';
|
|
15
|
15
|
import { AudioRouteButton } from '../../../mobile/audio-mode';
|
|
16
|
16
|
import { LiveStreamButton, RecordButton } from '../../../recording';
|
|
17
|
17
|
import { RoomLockButton } from '../../../room-lock';
|
|
|
@@ -36,11 +36,6 @@ type Props = {
|
|
36
|
36
|
*/
|
|
37
|
37
|
_bottomSheetStyles: StyleType,
|
|
38
|
38
|
|
|
39
|
|
- /**
|
|
40
|
|
- * Whether the chat feature has been enabled. The meeting info button will be displayed in its place when disabled.
|
|
41
|
|
- */
|
|
42
|
|
- _chatEnabled: boolean,
|
|
43
|
|
-
|
|
44
|
39
|
/**
|
|
45
|
40
|
* True if the overflow menu is currently visible, false otherwise.
|
|
46
|
41
|
*/
|
|
|
@@ -145,10 +140,6 @@ class OverflowMenu extends PureComponent<Props, State> {
|
|
145
|
140
|
<LiveStreamButton { ...buttonProps } />
|
|
146
|
141
|
<TileViewButton { ...buttonProps } />
|
|
147
|
142
|
<InviteButton { ...buttonProps } />
|
|
148
|
|
- {
|
|
149
|
|
- this.props._chatEnabled
|
|
150
|
|
- && <InfoDialogButton { ...buttonProps } />
|
|
151
|
|
- }
|
|
152
|
143
|
<RaiseHandButton { ...buttonProps } />
|
|
153
|
144
|
<SharedDocumentButton { ...buttonProps } />
|
|
154
|
145
|
<HelpButton { ...buttonProps } />
|
|
|
@@ -249,7 +240,6 @@ class OverflowMenu extends PureComponent<Props, State> {
|
|
249
|
240
|
function _mapStateToProps(state) {
|
|
250
|
241
|
return {
|
|
251
|
242
|
_bottomSheetStyles: ColorSchemeRegistry.get(state, 'BottomSheet'),
|
|
252
|
|
- _chatEnabled: getFeatureFlag(state, CHAT_ENABLED, true),
|
|
253
|
243
|
_isOpen: isDialogOpen(state, OverflowMenu_),
|
|
254
|
244
|
_recordingEnabled: Platform.OS !== 'ios' || getFeatureFlag(state, IOS_RECORDING_ENABLED)
|
|
255
|
245
|
};
|