소스 검색

[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.
j8
Saúl Ibarra Corretgé 8 년 전
부모
커밋
1ed0759a50
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      react/features/toolbar/components/Toolbar.native.js

+ 4
- 0
react/features/toolbar/components/Toolbar.native.js 파일 보기

@@ -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…
취소
저장