[RN] Temporarily disable camera toggling button
It doesn't work properly and gives a very bad user experience. Disble it until all underlying issues in react-native-webrtc are ironed out.
This commit is contained in:
parent
5b6985fc5c
commit
1ed0759a50
|
@ -115,12 +115,16 @@ class Toolbar extends AbstractToolbar {
|
|||
// TODO Use an appropriate icon for toggle camera facing mode.
|
||||
return (
|
||||
<View style = { styles.secondaryToolbar }>
|
||||
{/*
|
||||
* XXX Temporarily disabled until issues are fixed in
|
||||
* react-native-webrtc.
|
||||
<ToolbarButton
|
||||
iconName = 'switch-camera'
|
||||
iconStyle = { iconStyle }
|
||||
onClick = { this._toggleCameraFacingMode }
|
||||
style = { style }
|
||||
underlayColor = { underlayColor } />
|
||||
*/}
|
||||
<ToolbarButton
|
||||
iconName = {
|
||||
this.props._locked ? 'security-locked' : 'security'
|
||||
|
|
Loading…
Reference in New Issue