diff --git a/src/app/pages/chat/chat.page.ts b/src/app/pages/chat/chat.page.ts index 0c9346ee0..2e5485424 100644 --- a/src/app/pages/chat/chat.page.ts +++ b/src/app/pages/chat/chat.page.ts @@ -169,7 +169,7 @@ hideRefreshButton(){ openGroupContactsPage(data){ this.groupRoomId = data; this.closeAllDesktopComponents(); - if(window.innerWidth <= 1024){ + if(window.innerWidth < 801){ } else{ @@ -177,7 +177,7 @@ hideRefreshButton(){ } } openMessagesPage(rid) { - if( window.innerWidth <= 1024){ + if( window.innerWidth < 801){ this.openMessagesModal(rid); } else{ @@ -191,7 +191,7 @@ hideRefreshButton(){ console.log('OK'); this.closeAllDesktopComponents(); - if( window.innerWidth <= 1024){ + if( window.innerWidth < 801){ this.selectContact(); } else{ @@ -200,7 +200,7 @@ hideRefreshButton(){ } } openNewGroupPage() { - if( window.innerWidth <= 1024){ + if( window.innerWidth < 801){ this.newGroup(); } else{ @@ -210,7 +210,7 @@ hideRefreshButton(){ } openEditGroupPage(rid) { - if( window.innerWidth <= 1024){ + if( window.innerWidth < 801){ this.editGroup(rid); } else{ @@ -222,7 +222,7 @@ hideRefreshButton(){ openGroupMessagesPage(rid) { console.log(rid); - if( window.innerWidth <= 1024){ + if( window.innerWidth < 801){ this.openGroupMessagesModal(rid); } else{