fixed c/p error

This commit is contained in:
Martin Puza 2017-10-16 14:26:26 +02:00
parent defe4170c7
commit a811d69716

View File

@ -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() {