feat(toolbox): fix ToggleCameraButton tooltip / label

This commit is contained in:
Saúl Ibarra Corretgé 2018-05-15 13:20:40 +02:00 committed by Lyubo Marinov
parent cd57477b68
commit 8a160fd9ab
2 changed files with 3 additions and 2 deletions

View File

@ -98,6 +98,7 @@
"login": "Login",
"logout": "Logout",
"sharedVideoMutedPopup": "Your shared video has been muted so that you can talk to the other members.",
"toggleCamera": "Toggle camera",
"micMutedPopup": "Your microphone has been muted so that you would fully enjoy your shared video.",
"talkWhileMutedPopup": "Trying to speak? You are muted.",
"unableToUnmutePopup": "You cannot un-mute while the shared video is on.",

View File

@ -33,9 +33,9 @@ type Props = AbstractButtonProps & {
* An implementation of a button for toggling the camera facing mode.
*/
class ToggleCameraButton extends AbstractButton<Props, *> {
accessibilityLabel = 'Share room';
accessibilityLabel = 'Toggle camera';
iconName = 'icon-switch-camera';
label = 'toolbar.switchCamera';
label = 'toolbar.toggleCamera';
/**
* Handles clicking / pressing the button.