mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
Merge pull request #1554 from delta98/bugfix/FaCC-backwards-compat
UPDATED renderChildren to return this.props.children instead of null
This commit is contained in:
commit
0d889b9919
@ -338,7 +338,7 @@ export default class Camera extends React.Component<PropsType, StateType> {
|
||||
if (this.hasFaCC()) {
|
||||
return this.props.children({ camera: this, status: this.getStatus() });
|
||||
}
|
||||
return null;
|
||||
return this.props.children;
|
||||
};
|
||||
|
||||
render() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user