|
@@ -9,7 +9,6 @@ import {
|
9
|
9
|
import { TILE_VIEW_ENABLED, getFeatureFlag } from '../../base/flags';
|
10
|
10
|
import { translate } from '../../base/i18n';
|
11
|
11
|
import { IconTileView } from '../../base/icons';
|
12
|
|
-import { getParticipantCount } from '../../base/participants';
|
13
|
12
|
import { connect } from '../../base/redux';
|
14
|
13
|
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
|
15
|
14
|
import { setTileView } from '../actions';
|
|
@@ -87,8 +86,7 @@ class TileViewButton<P: Props> extends AbstractButton<P, *> {
|
87
|
86
|
*/
|
88
|
87
|
function _mapStateToProps(state, ownProps) {
|
89
|
88
|
const enabled = getFeatureFlag(state, TILE_VIEW_ENABLED, true);
|
90
|
|
- const lonelyMeeting = getParticipantCount(state) < 2;
|
91
|
|
- const { visible = enabled && !lonelyMeeting } = ownProps;
|
|
89
|
+ const { visible = enabled } = ownProps;
|
92
|
90
|
|
93
|
91
|
return {
|
94
|
92
|
_tileViewEnabled: shouldDisplayTileView(state),
|