This commit is contained in:
tiago.kayaya
2021-08-20 14:45:44 +01:00
parent ef9858dbea
commit 68c8e334c0
8 changed files with 19 additions and 11 deletions
@@ -16,8 +16,8 @@ export class MessagesOptionsPage implements OnInit {
private modalController: ModalController,
private chatService: ChatService,
private navParams: NavParams,
)
{
)
{
this.roomId = this.navParams.get('roomId');
}
@@ -25,11 +25,13 @@ export class MessagesOptionsPage implements OnInit {
}
close(){
if( window.innerWidth <= 1024){
if( window.innerWidth <= 701){
this.modalController.dismiss();
this.popoverController.dismiss();
}
else{
this.modalController.dismiss();
this.popoverController.dismiss();
}
}