mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-25 02:15:13 +00:00
fixed c/p error
This commit is contained in:
parent
defe4170c7
commit
a811d69716
2
index.js
2
index.js
@ -208,7 +208,7 @@ export default class Camera extends Component {
|
||||
_addOnZoomChanged(props) {
|
||||
if (Platform.OS === 'ios') {
|
||||
const { onZoomChanged } = props || this.props;
|
||||
this.zoomListener = NativeAppEventEmitter.addListener('zoomChanged', onFocusChanged)
|
||||
this.zoomListener = NativeAppEventEmitter.addListener('zoomChanged', onZoomChanged)
|
||||
}
|
||||
}
|
||||
_removeOnBarCodeReadListener() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user