mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-05 19:59:20 +00:00
Run prettify over the changes.
This commit is contained in:
@@ -24,7 +24,13 @@ export const ShareButton: FC<
|
|||||||
> = (props) => {
|
> = (props) => {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<Button data-testid="open_share_modal" kind="secondary" size="sm" Icon={UserAddSolidIcon} {...props}>
|
<Button
|
||||||
|
data-testid="open_share_modal"
|
||||||
|
kind="secondary"
|
||||||
|
size="sm"
|
||||||
|
Icon={UserAddSolidIcon}
|
||||||
|
{...props}
|
||||||
|
>
|
||||||
{t("Share")}
|
{t("Share")}
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -423,7 +423,7 @@ export function InCallView({
|
|||||||
</LeftNav>
|
</LeftNav>
|
||||||
<RightNav>
|
<RightNav>
|
||||||
{!reducedControls && onShareClick !== null && (
|
{!reducedControls && onShareClick !== null && (
|
||||||
<ShareButton data-testid= "call_invite" onClick={onShareClick} />
|
<ShareButton data-testid="call_invite" onClick={onShareClick} />
|
||||||
)}
|
)}
|
||||||
</RightNav>
|
</RightNav>
|
||||||
</Header>
|
</Header>
|
||||||
|
|||||||
@@ -106,7 +106,13 @@ export const VideoPreview: FC<Props> = ({
|
|||||||
|
|
||||||
const content = (
|
const content = (
|
||||||
<>
|
<>
|
||||||
<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}>
|
||||||
<Avatar
|
<Avatar
|
||||||
|
|||||||
@@ -203,7 +203,12 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
|
|||||||
aria-label={muted ? t("Microphone off") : t("Microphone on")}
|
aria-label={muted ? t("Microphone off") : t("Microphone on")}
|
||||||
data-muted={muted}
|
data-muted={muted}
|
||||||
/>
|
/>
|
||||||
<Text as="span" size="sm" weight="medium" data-testid="videoTile_caption">
|
<Text
|
||||||
|
as="span"
|
||||||
|
size="sm"
|
||||||
|
weight="medium"
|
||||||
|
data-testid="videoTile_caption"
|
||||||
|
>
|
||||||
{sfuParticipant.isLocal ? t("You") : displayName}
|
{sfuParticipant.isLocal ? t("You") : displayName}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user