mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-21 16:38:41 -06:00
Screen-sharing indicator bugfix (#1705)
This commit is contained in:
parent
5e9d7d7dae
commit
0c594fc46b
@ -7,12 +7,14 @@ exports[`screen sharing indicator should render correctly 1`] = `
|
|||||||
<span
|
<span
|
||||||
className="text-label"
|
className="text-label"
|
||||||
>
|
>
|
||||||
You are sharing your screen on
|
<span>
|
||||||
<b>
|
You are sharing your screen on
|
||||||
|
<b>
|
||||||
Symphony
|
|
||||||
|
Symphony
|
||||||
</b>
|
|
||||||
|
</b>
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
className="buttons"
|
className="buttons"
|
||||||
|
@ -121,11 +121,11 @@ export default class ScreenSharingIndicator extends React.Component<
|
|||||||
}
|
}
|
||||||
const appNameEndPosition = appNameStartPosition + appName.length;
|
const appNameEndPosition = appNameStartPosition + appName.length;
|
||||||
return (
|
return (
|
||||||
<>
|
<span>
|
||||||
{`${translatedLabel.slice(0, appNameStartPosition)}`}
|
{`${translatedLabel.slice(0, appNameStartPosition)}`}
|
||||||
<b> {appName} </b>
|
<b> {appName} </b>
|
||||||
{translatedLabel.slice(appNameEndPosition)}
|
{translatedLabel.slice(appNameEndPosition)}
|
||||||
</>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user