mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-03 07:10:26 +00:00
Prettier changes.
This commit is contained in:
@@ -408,7 +408,13 @@ export function InCallView({
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
buttons.push(<SettingsButton key="4" onPress={openSettings} data-testid="incall_settings" />);
|
buttons.push(
|
||||||
|
<SettingsButton
|
||||||
|
key="4"
|
||||||
|
onPress={openSettings}
|
||||||
|
data-testid="incall_settings"
|
||||||
|
/>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
buttons.push(
|
buttons.push(
|
||||||
@@ -432,7 +438,11 @@ export function InCallView({
|
|||||||
<RightNav>
|
<RightNav>
|
||||||
<GridLayoutMenu layout={layout} setLayout={setLayout} />
|
<GridLayoutMenu layout={layout} setLayout={setLayout} />
|
||||||
{joinRule === JoinRule.Public && (
|
{joinRule === JoinRule.Public && (
|
||||||
<InviteButton data-testid="call_invite" variant="icon" onClick={openInvite} />
|
<InviteButton
|
||||||
|
data-testid="call_invite"
|
||||||
|
variant="icon"
|
||||||
|
onClick={openInvite}
|
||||||
|
/>
|
||||||
)}
|
)}
|
||||||
</RightNav>
|
</RightNav>
|
||||||
</Header>
|
</Header>
|
||||||
|
|||||||
@@ -119,7 +119,13 @@ export const VideoPreview: FC<Props> = ({ matrixInfo, muteStates }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.preview} ref={previewRef}>
|
<div className={styles.preview} ref={previewRef}>
|
||||||
<video data-testid="preview_video" ref={videoEl} muted playsInline disablePictureInPicture />
|
<video
|
||||||
|
data-testid="preview_video"
|
||||||
|
ref={videoEl}
|
||||||
|
muted
|
||||||
|
playsInline
|
||||||
|
disablePictureInPicture
|
||||||
|
/>
|
||||||
<>
|
<>
|
||||||
{!muteStates.video.enabled && (
|
{!muteStates.video.enabled && (
|
||||||
<div className={styles.avatarContainer}>
|
<div className={styles.avatarContainer}>
|
||||||
|
|||||||
@@ -183,7 +183,9 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
|
|||||||
) : (
|
) : (
|
||||||
<div className={classNames(styles.infoBubble, styles.memberName)}>
|
<div className={classNames(styles.infoBubble, styles.memberName)}>
|
||||||
{microphoneMuted === false ? <MicIcon /> : <MicMutedIcon />}
|
{microphoneMuted === false ? <MicIcon /> : <MicMutedIcon />}
|
||||||
<span data-testid="videoTile_caption" title={displayName}>{displayName}</span>
|
<span data-testid="videoTile_caption" title={displayName}>
|
||||||
|
{displayName}
|
||||||
|
</span>
|
||||||
{showConnectionStats && (
|
{showConnectionStats && (
|
||||||
<ConnectionQualityIndicator participant={sfuParticipant} />
|
<ConnectionQualityIndicator participant={sfuParticipant} />
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user