Skip to content

Commit

Permalink
Step 14.14: Use the new sendPicture method in the template
Browse files Browse the repository at this point in the history
  • Loading branch information
darkbasic committed Oct 16, 2017
1 parent 6eb7d0e commit 12fb8b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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>
Expand Down

0 comments on commit 12fb8b7

Please sign in to comment.