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
@@ -62,7 +62,7 @@
<ion-footer>
<div class="container width-100 d-flex">
<div>
<button class="btn-no-color" > <!-- (click)="openSendGroupMessageOptions()" -->
<button class="btn-no-color" (click)="openSendGroupMessageOptions()">
<ion-icon class="chat-icon-options" src="assets/icon/icons-chat-options.svg"></ion-icon>
</button>
</div>
@@ -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,
}