Permalink
Browse files

Step 14.14: Use the new sendPicture method in the template

  • Loading branch information...
darkbasic committed Jun 7, 2017
1 parent 2a4993a commit 1980a767e6d7335e39ffa325fe2f57049af72543
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/pages/messages/messages-attachments.html
@@ -1,11 +1,11 @@
<ion-content class="messages-attachments-page-content">
<ion-list class="attachments">
<button ion-item class="attachment attachment-gallery" (click)="sendPicture()">
<button ion-item class="attachment attachment-gallery" (click)="sendPicture(false)">
<ion-icon name="images" class="attachment-icon"></ion-icon>
<div class="attachment-name">Gallery</div>
</button>
<button ion-item class="attachment attachment-camera">
<button ion-item class="attachment attachment-camera" (click)="sendPicture(true)">
<ion-icon name="camera" class="attachment-icon"></ion-icon>
<div class="attachment-name">Camera</div>
</button>

0 comments on commit 1980a76

Please sign in to comment.