style group-message view for tablet/desktop

This commit is contained in:
tiago.kayaya
2021-03-15 10:42:19 +01:00
parent 738b376285
commit 22c8951c0f
9 changed files with 99 additions and 91 deletions
@@ -1,5 +1,5 @@
import { AfterViewChecked, Component, OnChanges, OnInit, Input, SimpleChanges, Output } from '@angular/core';
import { ActionSheetController, MenuController, ModalController, NavParams, PopoverController } from '@ionic/angular';
import { Component, OnChanges, OnInit, Input, SimpleChanges} from '@angular/core';
import { ActionSheetController, MenuController, ModalController, PopoverController } from '@ionic/angular';
import { AuthService } from 'src/app/services/auth.service';
import { ChatService } from 'src/app/services/chat.service';
import { ChatOptionsPopoverPage } from 'src/app/shared/popover/chat-options-popover/chat-options-popover.page';
@@ -22,7 +22,6 @@ export class GroupMessagesPage implements OnInit, OnChanges {
room:any;
roomName:any;
members:any;
@Input() roomId:string;
@@ -33,12 +32,9 @@ export class GroupMessagesPage implements OnInit, OnChanges {
private actionSheetController: ActionSheetController,
public popoverController: PopoverController,
private chatService: ChatService,
/* private navParams: NavParams, */
private authService: AuthService,
) {
this.isGroupCreated = true;
/* this.room = this.navParams.get('room'); */
/* this.roomName = this.room.name.split('-').join(' '); */
}
ngOnChanges(changes: SimpleChanges): void {
this.getRoomInfo();