feat(toolbox/conference): button places updates

This commit is contained in:
Calin-Teodor
2022-07-11 11:58:33 +03:00
committed by Calinteodor
parent 30b0bb7bd6
commit 7e2f3f7d68
4 changed files with 9 additions and 26 deletions

View File

@@ -7,7 +7,6 @@ import { BottomSheet, hideSheet } from '../../../base/dialog';
import { bottomSheetStyles } from '../../../base/dialog/components/native/styles';
import { connect } from '../../../base/redux';
import { SharedDocumentButton } from '../../../etherpad';
import { ParticipantsPaneButton } from '../../../participants-pane/components/native';
import { ReactionMenu } from '../../../reactions/components';
import { isReactionsEnabled } from '../../../reactions/functions.any';
import { LiveStreamButton, RecordButton } from '../../../recording';
@@ -115,25 +114,11 @@ class OverflowMenu extends PureComponent<Props, State> {
styles: bottomSheetStyles.buttons
};
const topButtonProps = {
afterClick: this._onCancel,
showLabel: true,
styles: {
...bottomSheetStyles.buttons,
style: {
...bottomSheetStyles.buttons.style,
borderTopLeftRadius: 16,
borderTopRightRadius: 16
}
}
};
return (
<BottomSheet
renderFooter = { _reactionsEnabled && !toolbarButtons.has('raisehand')
? this._renderReactionMenu
: null }>
<ParticipantsPaneButton { ...topButtonProps } />
{_selfViewHidden && <ToggleSelfViewButton { ...buttonProps } />}
<OpenCarmodeButton { ...buttonProps } />
<AudioOnlyButton { ...buttonProps } />