This commit is contained in:
tiago.kayaya
2021-09-03 17:02:42 +01:00
parent bbe99e27af
commit ff7bf2d174
3 changed files with 16 additions and 0 deletions
+5
View File
@@ -120,6 +120,11 @@ export class ChatPage implements OnInit {
){
this.loggedUserChat = authService.ValidatedUserChat['data'];
this.headers = new HttpHeaders();
window.onresize = (event) => {
if( window.innerWidth > 701){
this.modalController.dismiss();
}
};
}
@@ -54,6 +54,11 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
this.loggedUserChat = authService.ValidatedUserChat['data'];
this.isGroupCreated = true;
this.roomId = this.navParams.get('roomId');
window.onresize = (event) => {
if( window.innerWidth > 701){
this.modalController.dismiss();
}
};
}
ngOnInit() {
@@ -60,6 +60,12 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
}); */
this.loggedUser = authService.ValidatedUserChat['data'];
this.roomId = this.navParams.get('roomId');
window.onresize = (event) => {
if( window.innerWidth > 701){
this.modalController.dismiss();
}
};
}
ngOnInit() {