mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-08-26 19:57:47 +00:00
feat(toolbox/conference): button places updates
This commit is contained in:
committed by
Calinteodor
parent
30b0bb7bd6
commit
7e2f3f7d68
@@ -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 } />
|
||||
|
||||
Reference in New Issue
Block a user