add credit

This commit is contained in:
CHIEFSOFT\ameye
2024-02-12 09:25:37 -05:00
parent 2f5dbc5291
commit 6734f9fbe4
2 changed files with 16 additions and 0 deletions
@@ -24,6 +24,16 @@ ion-content {
}
}
.common_modal{
background-color: aliceblue;
max-width: 320px;
min-width: 300px ;
min-height: 520px;
max-height: 550px;
border-radius: 20px;
margin: auto;
}
.send-grid{
background-color: #eff2f4;
border-radius: 10px;
@@ -246,6 +246,7 @@ export class AddcreditPage implements OnInit {
);
}
setCloseModal(){
//debugger;
this.isModalOpen = false;
setTimeout(()=>{
this.isModalOpenBackdrop= false;
@@ -341,6 +342,10 @@ export class AddcreditPage implements OnInit {
this.userWalletService.getWalletData(); // refresh the wallet
this.credit_confirmation = creditResult.confirmation;
this.showCrediAlert("Credit Processing","Completed");
setTimeout(()=>{
// this.setCloseModal();
}, 5000);
}
}
);
@@ -375,6 +380,7 @@ export class AddcreditPage implements OnInit {
text: 'OK',
role: 'confirm',
handler: () => {
this.setCloseModal();
this.onBack();
},
}],