Skip to content

Commit

Permalink
Update app.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
id1945 authored Oct 27, 2023
1 parent ffb1417 commit ef02285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ export class AppComponent implements AfterViewInit {
}

public onSelects(files: any) {
this.qrcode.loadFiles(files).subscribe((res: ScannerQRCodeSelectedFiles[]) => {
this.qrcode.loadFiles(files, 30, 30).subscribe((res: ScannerQRCodeSelectedFiles[]) => {
this.qrCodeResult = res;
});
}

public onSelects2(files: any) {
this.qrcode.loadFilesToScan(files, this.config).subscribe((res: ScannerQRCodeSelectedFiles[]) => {
this.qrcode.loadFilesToScan(files, this.config, 30, 30).subscribe((res: ScannerQRCodeSelectedFiles[]) => {
console.log(res);
this.qrCodeResult2 = res;
});
Expand Down

0 comments on commit ef02285

Please sign in to comment.