Skip to content

Commit

Permalink
missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
jlcvp authored Sep 9, 2024
1 parent 57d8383 commit e2f4695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/home/home.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export class HomePage implements OnInit {
await firstValueFrom(this.qrscanner.start())
} catch (error) {
// camera permission denial
const message = firstValueFrom(this.translateService.get('ADD_ACCOUNT_MODAL.CAMERA_ERROR'))
const message = await firstValueFrom(this.translateService.get('ADD_ACCOUNT_MODAL.CAMERA_ERROR'))
const alert = await this.alertController.create({
message,
buttons: ['OK']
Expand Down

0 comments on commit e2f4695

Please sign in to comment.