|
@@ -6,6 +6,7 @@ import { MEDIA_TYPE } from '../../../base/media';
|
6
|
6
|
import { connect } from '../../../base/redux';
|
7
|
7
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
8
|
8
|
import { isLocalTrackMuted, isToggleCameraEnabled, toggleCamera } from '../../../base/tracks';
|
|
9
|
+import { setOverflowMenuVisible } from '../../actions.web';
|
9
|
10
|
|
10
|
11
|
/**
|
11
|
12
|
* The type of the React {@code Component} props of {@link ToggleCameraButton}.
|
|
@@ -45,6 +46,7 @@ class ToggleCameraButton extends AbstractButton<Props, any> {
|
45
|
46
|
const { dispatch } = this.props;
|
46
|
47
|
|
47
|
48
|
dispatch(toggleCamera());
|
|
49
|
+ dispatch(setOverflowMenuVisible(false));
|
48
|
50
|
}
|
49
|
51
|
|
50
|
52
|
/**
|