Browse Source

[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.
master
Saúl Ibarra Corretgé 8 years ago
parent
commit
1ed0759a50
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      react/features/toolbar/components/Toolbar.native.js

+ 4
- 0
react/features/toolbar/components/Toolbar.native.js View File

@@ -115,12 +115,16 @@ class Toolbar extends AbstractToolbar {
115 115
         // TODO Use an appropriate icon for toggle camera facing mode.
116 116
         return (
117 117
             <View style = { styles.secondaryToolbar }>
118
+                {/*
119
+                  * XXX Temporarily disabled until issues are fixed in
120
+                  * react-native-webrtc.
118 121
                 <ToolbarButton
119 122
                     iconName = 'switch-camera'
120 123
                     iconStyle = { iconStyle }
121 124
                     onClick = { this._toggleCameraFacingMode }
122 125
                     style = { style }
123 126
                     underlayColor = { underlayColor } />
127
+                */}
124 128
                 <ToolbarButton
125 129
                     iconName = {
126 130
                         this.props._locked ? 'security-locked' : 'security'

Loading…
Cancel
Save