-style approve entents for desktop finished

-style expedient  for desktop ongoing
This commit is contained in:
tiago.kayaya
2021-03-18 16:30:03 +01:00
parent c16fc7197a
commit 2c766015e7
31 changed files with 685 additions and 94 deletions
@@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { PopoverController } from '@ionic/angular';
import { ModalController, PopoverController } from '@ionic/angular';
@Component({
selector: 'app-chat-options-popover',
@@ -9,14 +9,20 @@ import { PopoverController } from '@ionic/angular';
export class ChatOptionsPopoverPage implements OnInit {
constructor(
private popoverController: PopoverController
private popoverController: PopoverController,
private modalController: ModalController,
) { }
ngOnInit() {
}
close(){
this.popoverController.dismiss();
if( window.innerWidth <= 1024){
this.popoverController.dismiss();
}
else{
this.modalController.dismiss();
}
}
}