Show a "Your camera is turned off" toast
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
3fac4adfc7
commit
ddd4b4bc12
2 changed files with 5 additions and 2 deletions
|
@ -757,8 +757,10 @@ export default class CallView extends React.Component<IProps, IState> {
|
||||||
let text = isScreensharing
|
let text = isScreensharing
|
||||||
? _t("You are presenting")
|
? _t("You are presenting")
|
||||||
: _t('%(sharerName)s is presenting', { sharerName });
|
: _t('%(sharerName)s is presenting', { sharerName });
|
||||||
if (!this.state.sidebarShown) {
|
if (!this.state.sidebarShown && isScreensharing) {
|
||||||
text += " • " + _t("Your camera is still enabled");
|
text += " • " + (this.props.call.isLocalVideoMuted()
|
||||||
|
? _t("Your camera is turned off")
|
||||||
|
: _t("Your camera is still enabled"));
|
||||||
}
|
}
|
||||||
|
|
||||||
presenting = (
|
presenting = (
|
||||||
|
|
|
@ -897,6 +897,7 @@
|
||||||
"Connecting": "Connecting",
|
"Connecting": "Connecting",
|
||||||
"You are presenting": "You are presenting",
|
"You are presenting": "You are presenting",
|
||||||
"%(sharerName)s is presenting": "%(sharerName)s is presenting",
|
"%(sharerName)s is presenting": "%(sharerName)s is presenting",
|
||||||
|
"Your camera is turned off": "Your camera is turned off",
|
||||||
"Your camera is still enabled": "Your camera is still enabled",
|
"Your camera is still enabled": "Your camera is still enabled",
|
||||||
"Video Call": "Video Call",
|
"Video Call": "Video Call",
|
||||||
"Voice Call": "Voice Call",
|
"Voice Call": "Voice Call",
|
||||||
|
|
Loading…
Reference in a new issue