add credit
This commit is contained in:
@@ -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();
|
||||
},
|
||||
}],
|
||||
|
||||
Reference in New Issue
Block a user