Fix merge conflicts
This commit is contained in:
parent
35386078a4
commit
e8762fbe5b
1 changed files with 6 additions and 5 deletions
|
@ -22,6 +22,7 @@ import RoomAvatar from '../../avatars/RoomAvatar';
|
||||||
import AccessibleButton from '../../elements/AccessibleButton';
|
import AccessibleButton from '../../elements/AccessibleButton';
|
||||||
import dis from '../../../../dispatcher/dispatcher';
|
import dis from '../../../../dispatcher/dispatcher';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
import AccessibleTooltipButton from '../../elements/AccessibleTooltipButton';
|
||||||
|
|
||||||
const callTypeTranslationByType: Record<CallType, () => string> = {
|
const callTypeTranslationByType: Record<CallType, () => string> = {
|
||||||
[CallType.Video]: () => _t("Video Call"),
|
[CallType.Video]: () => _t("Video Call"),
|
||||||
|
@ -62,11 +63,11 @@ type CallControlsProps = Pick<CallViewHeaderProps, 'pipMode' | 'type'> & {
|
||||||
const CallViewHeaderControls: React.FC<CallControlsProps> = ({ pipMode = false, type, roomId }) => {
|
const CallViewHeaderControls: React.FC<CallControlsProps> = ({ pipMode = false, type, roomId }) => {
|
||||||
return <div className="mx_CallView_header_controls">
|
return <div className="mx_CallView_header_controls">
|
||||||
{ (pipMode && type === CallType.Video) &&
|
{ (pipMode && type === CallType.Video) &&
|
||||||
<div className="mx_CallView_header_button mx_CallView_header_button_fullscreen"
|
<AccessibleTooltipButton className="mx_CallView_header_button mx_CallView_header_button_fullscreen"
|
||||||
onClick={onFullscreenClick}
|
onClick={onFullscreenClick}
|
||||||
title={_t("Fill Screen")}
|
title={_t("Fill Screen")}
|
||||||
/> }
|
/> }
|
||||||
{ pipMode && <div className="mx_CallView_header_button mx_CallView_header_button_expand"
|
{ pipMode && <AccessibleTooltipButton className="mx_CallView_header_button mx_CallView_header_button_expand"
|
||||||
onClick={() => onExpandClick(roomId)}
|
onClick={() => onExpandClick(roomId)}
|
||||||
title={_t("Return to call")}
|
title={_t("Return to call")}
|
||||||
/> }
|
/> }
|
||||||
|
|
Loading…
Reference in a new issue