bugfix
This commit is contained in:
parent
337787ca61
commit
f90a1ada97
@ -43,8 +43,8 @@ bricks.QRCodeScan = class extends bricks.VBox {
|
|||||||
}
|
}
|
||||||
stop(){
|
stop(){
|
||||||
if (this.scanner && this.scanner.getState() !== Html5QrcodeScannerState.NOT_STARTED) {
|
if (this.scanner && this.scanner.getState() !== Html5QrcodeScannerState.NOT_STARTED) {
|
||||||
this.scanner.stop()
|
this.scanner.stop();
|
||||||
this.dispatch('stopped', decodedText)
|
this.dispatch('stopped');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user