diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-08-04 07:36:01 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-08-04 07:36:01 +0800 |
commit | af97ba103cea6e9f5e114d916f920b28d96d4e8a (patch) | |
tree | 4bf08b7cdf21a8641cc445ae27268b3f8f784744 /ui/app | |
parent | 71ef4d85da50c50f767e20623fd30c014ba16ecf (diff) | |
download | tangerine-wallet-browser-af97ba103cea6e9f5e114d916f920b28d96d4e8a.tar tangerine-wallet-browser-af97ba103cea6e9f5e114d916f920b28d96d4e8a.tar.gz tangerine-wallet-browser-af97ba103cea6e9f5e114d916f920b28d96d4e8a.tar.bz2 tangerine-wallet-browser-af97ba103cea6e9f5e114d916f920b28d96d4e8a.tar.lz tangerine-wallet-browser-af97ba103cea6e9f5e114d916f920b28d96d4e8a.tar.xz tangerine-wallet-browser-af97ba103cea6e9f5e114d916f920b28d96d4e8a.tar.zst tangerine-wallet-browser-af97ba103cea6e9f5e114d916f920b28d96d4e8a.zip |
clear qr code data before scanning
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/modals/qr-scanner/qr-scanner.component.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/app/components/modals/qr-scanner/qr-scanner.component.js b/ui/app/components/modals/qr-scanner/qr-scanner.component.js index 5ca19ccd8..b18d51351 100644 --- a/ui/app/components/modals/qr-scanner/qr-scanner.component.js +++ b/ui/app/components/modals/qr-scanner/qr-scanner.component.js @@ -28,6 +28,9 @@ export default class QrScanner extends Component { this.codeReader = null this.permissionChecker = null this.needsToReinit = false + + // Clear pre-existing qr code data before scanning + this.props.qrCodeDetected(null) } componentDidMount () { |