Skip to content

Commit

Permalink
Refactor account modal component to enable closing when scan is not a…
Browse files Browse the repository at this point in the history
…ctive and avoid being stuck
  • Loading branch information
jlcvp committed Oct 25, 2024
1 parent fbfc4c2 commit aaa565f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ion-toolbar>
<ion-title>{{ "ADD_ACCOUNT_MODAL.TITLE" | translate }}</ion-title>
<ion-buttons slot="end">
<ion-button (click)="dismiss()" [disabled]="!isCameraSettled"><ion-icon slot="icon-only" name="close-outline"></ion-icon></ion-button>
<ion-button (click)="dismiss()" [disabled]="isScanActive && !isCameraSettled "><ion-icon slot="icon-only" name="close-outline"></ion-icon></ion-button>
</ion-buttons>
</ion-toolbar>
</ion-header>
Expand Down

0 comments on commit aaa565f

Please sign in to comment.