Merge pull request #88 from darrylblake/stopRecordingFix
(fix) stopRecording method is not defined, switched to stopCapture.
This commit is contained in:
commit
b82527ad11
|
@ -84,7 +84,7 @@ var Camera = React.createClass({
|
|||
this.cameraBarCodeReadListener.remove();
|
||||
|
||||
if (this.state.isRecording) {
|
||||
this.stopRecording();
|
||||
this.stopCapture();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue