mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
add image to chat
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="buttons">
|
||||
<button hidden (click)="notImplemented()" full class="btn-ok" shape="round" >Tirar Fotografia</button>
|
||||
<button hidden (click)="notImplemented()" class="btn-ok" shape="round" >Digitalizar Documento</button>
|
||||
<button hidden (click)="notImplemented()" full class="btn-ok" shape="round" >Anexar Fotografia</button>
|
||||
<button (click)="anexarFoto()" full class="btn-ok" shape="round" >Anexar Fotografia</button>
|
||||
<button hidden (click)="getDoc()" class="btn-ok" shape="round" >Anexar Documento</button>
|
||||
<div class="solid"></div>
|
||||
<button (click)="bookMeeting()" class="btn-ok" shape="round" >Marcar reunião</button>
|
||||
|
||||
@@ -45,6 +45,15 @@ export class ChatOptionsPopoverPage implements OnInit {
|
||||
this.alertService.presentAlert('Funcionalidade em desenvolvimento');
|
||||
}
|
||||
|
||||
anexarFoto(){
|
||||
if( window.innerWidth < 701){
|
||||
this.popoverController.dismiss('picture');
|
||||
}
|
||||
else{
|
||||
this.modalController.dismiss('picture');
|
||||
}
|
||||
}
|
||||
|
||||
close(){
|
||||
if( window.innerWidth < 701){
|
||||
this.popoverController.dismiss();
|
||||
|
||||
Reference in New Issue
Block a user