mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-03 07:10:26 +00:00
Run prettify over the changes.
This commit is contained in:
@@ -24,7 +24,13 @@ export const ShareButton: FC<
|
||||
> = (props) => {
|
||||
const { t } = useTranslation();
|
||||
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")}
|
||||
</Button>
|
||||
);
|
||||
|
||||
@@ -423,7 +423,7 @@ export function InCallView({
|
||||
</LeftNav>
|
||||
<RightNav>
|
||||
{!reducedControls && onShareClick !== null && (
|
||||
<ShareButton data-testid= "call_invite" onClick={onShareClick} />
|
||||
<ShareButton data-testid="call_invite" onClick={onShareClick} />
|
||||
)}
|
||||
</RightNav>
|
||||
</Header>
|
||||
|
||||
@@ -106,7 +106,13 @@ export const VideoPreview: FC<Props> = ({
|
||||
|
||||
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 && (
|
||||
<div className={styles.avatarContainer}>
|
||||
<Avatar
|
||||
|
||||
@@ -203,7 +203,12 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
|
||||
aria-label={muted ? t("Microphone off") : t("Microphone on")}
|
||||
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}
|
||||
</Text>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user