Detail comment
This commit is contained in:
parent
1ed0759a50
commit
aaf7a38cce
|
@ -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 }
|
||||||
|
|
Loading…
Reference in New Issue