Skip to content

Commit

Permalink
Merge pull request #109 from jojastahl/master
Browse files Browse the repository at this point in the history
Fixed typo leading to unterminated recursion in restartScan.

May the force be with you!
  • Loading branch information
odahcam authored Jul 10, 2018
2 parents 9a9a0bd + e6867a0 commit 9e8fe61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/modules/zxing-scanner/zxing-scanner.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ export class ZXingScannerComponent implements AfterViewInit, OnDestroy, OnChange
* Stops and starts back the scan.
*/
restartScan(): void {
this.restartScan();
this.resetScan();
this.startScan(this.device);
}

Expand Down

0 comments on commit 9e8fe61

Please sign in to comment.