diff --git a/src/components/modals/QrModal/index.js b/src/components/modals/QrModal/index.js index 25fb353f..2666584a 100644 --- a/src/components/modals/QrModal/index.js +++ b/src/components/modals/QrModal/index.js @@ -108,7 +108,8 @@ class QrModal extends React.Component { this.props.onError(err); } - if (err.name === 'NotAllowedError' || err.name === 'PermissionDeniedError') { + if (err.name === 'NotAllowedError' || err.name === 'PermissionDeniedError' + || err.name === 'NotReadableError' || err.name === 'TrackStartError') { this.setState({ error: 'Permission to access the camera was denied.', });