[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.
|
// TODO Use an appropriate icon for toggle camera facing mode.
|
||||||
return (
|
return (
|
||||||
<View style = { styles.secondaryToolbar }>
|
<View style = { styles.secondaryToolbar }>
|
||||||
|
{/*
|
||||||
|
* XXX Temporarily disabled until issues are fixed in
|
||||||
|
* react-native-webrtc.
|
||||||
<ToolbarButton
|
<ToolbarButton
|
||||||
iconName = 'switch-camera'
|
iconName = 'switch-camera'
|
||||||
iconStyle = { iconStyle }
|
iconStyle = { iconStyle }
|
||||||
onClick = { this._toggleCameraFacingMode }
|
onClick = { this._toggleCameraFacingMode }
|
||||||
style = { style }
|
style = { style }
|
||||||
underlayColor = { underlayColor } />
|
underlayColor = { underlayColor } />
|
||||||
|
*/}
|
||||||
<ToolbarButton
|
<ToolbarButton
|
||||||
iconName = {
|
iconName = {
|
||||||
this.props._locked ? 'security-locked' : 'security'
|
this.props._locked ? 'security-locked' : 'security'
|
||||||
|
|
Loading…
Reference in New Issue