Эх сурвалжийг харах

fix: add detectChanges for QR modal display

gangvy 5 сар өмнө
parent
commit
5055fec657
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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);