Detail comment

This commit is contained in:
Lyubo Marinov 2017-02-21 09:09:07 -06:00
parent 1ed0759a50
commit aaf7a38cce
1 changed files with 9 additions and 5 deletions

View File

@ -112,12 +112,16 @@ class Toolbar extends AbstractToolbar {
/* eslint-disable react/jsx-curly-spacing,react/jsx-handler-names */ /* eslint-disable react/jsx-curly-spacing,react/jsx-handler-names */
// TODO Use an appropriate icon for toggle camera facing mode.
return ( return (
<View style = { styles.secondaryToolbar }> <View style = { styles.secondaryToolbar }>
{/* {/* FIXME There are multiple issues with the toggling of the
* XXX Temporarily disabled until issues are fixed in * camera facing more. For example, switching from the user
* react-native-webrtc. * facing camera to the environment facing camera on iOS may be
* very slow or may not work at all. On Android the toggling
* either works or does not. The causes of the various problems
* have been identified to lie within either
* react-native-webrtc or Google's native WebRTC API.
*
<ToolbarButton <ToolbarButton
iconName = 'switch-camera' iconName = 'switch-camera'
iconStyle = { iconStyle } iconStyle = { iconStyle }