This commit is contained in:
tiago.kayaya
2021-08-18 09:23:53 +01:00
parent 719848ec16
commit ab30b20a79
12 changed files with 100 additions and 19 deletions
@@ -242,7 +242,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewChecked {
}
openSendGroupMessageOptions(ev?: any){
if(window.innerWidth <= 1024){
if(window.innerWidth <= 701){
console.log('mobile');
this.openChatOptions(ev);
}
@@ -334,7 +334,6 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewChecked {
*/
async _openChatOptions() {
const enterAnimation = (baseEl: any) => {
const backdropAnimation = this.animationController.create()
.addElement(baseEl.querySelector('ion-backdrop')!)
@@ -362,7 +361,7 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewChecked {
enterAnimation,
leaveAnimation,
component: ChatOptionsPopoverPage,
cssClass: 'model profile-modal search-submodal',
cssClass: 'model',
componentProps: {
roomId: this.roomId,
}