Explorar o código

fix: add detectChanges for QR modal display

gangvy hai 5 meses
pai
achega
5055fec657
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/app/app.ts

+ 1 - 0
src/app/app.ts

@@ -396,6 +396,7 @@ export class App implements OnInit {
       // 4. Show QR modal
       this.showQrModal = true;
       this.paySuccess = false;
+      this.cdr.detectChanges();
 
       // Wait for DOM update, then render QR
       setTimeout(() => this.renderQR(codeUrl), 100);