This commit is contained in:
Peter Maquiran
2023-03-10 11:41:44 +01:00
parent 9c7281ce48
commit a25b8ba40f
6 changed files with 40 additions and 23 deletions
@@ -39,10 +39,8 @@ export class ChatPopoverPage implements OnInit {
close(action:any){
if( window.innerWidth < 701){
this.popoverController.dismiss(action);
this.modalController.dismiss(action)
}
else{
this.popoverController.dismiss(action);
this.modalController.dismiss(action)
}
}
@@ -123,25 +121,16 @@ export class ChatPopoverPage implements OnInit {
});
}
});
this.popoverController.dismiss('delete');
this.modalController.dismiss('delete')
this.close('delete');
}
async openChangeGroupName(){
if( window.innerWidth < 701){
this.popoverController.dismiss('edit');
this.modalController.dismiss('edit')
}
else{
this.popoverController.dismiss('edit');
this.modalController.dismiss('edit')
}
this.close('edit');
}
async addUser() {
this.popoverController.dismiss('addUser');
this.modalController.dismiss('addUser')
this.close('addUser');
}
}