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
|
||||
className="text-label"
|
||||
>
|
||||
You are sharing your screen on
|
||||
<b>
|
||||
|
||||
Symphony
|
||||
|
||||
</b>
|
||||
<span>
|
||||
You are sharing your screen on
|
||||
<b>
|
||||
|
||||
Symphony
|
||||
|
||||
</b>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
className="buttons"
|
||||
|
@ -121,11 +121,11 @@ export default class ScreenSharingIndicator extends React.Component<
|
||||
}
|
||||
const appNameEndPosition = appNameStartPosition + appName.length;
|
||||
return (
|
||||
<>
|
||||
<span>
|
||||
{`${translatedLabel.slice(0, appNameStartPosition)}`}
|
||||
<b> {appName} </b>
|
||||
{translatedLabel.slice(appNameEndPosition)}
|
||||
</>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user