Skip to content

Commit 12fb8b7

Browse files
committed
Step 14.14: Use the new sendPicture method in the template
1 parent 6eb7d0e commit 12fb8b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/messages/messages-attachments.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<ion-content class="messages-attachments-page-content">
22
<ion-list class="attachments">
3-
<button ion-item class="attachment attachment-gallery" (click)="sendPicture()">
3+
<button ion-item class="attachment attachment-gallery" (click)="sendPicture(false)">
44
<ion-icon name="images" class="attachment-icon"></ion-icon>
55
<div class="attachment-name">Gallery</div>
66
</button>
77

8-
<button ion-item class="attachment attachment-camera">
8+
<button ion-item class="attachment attachment-camera" (click)="sendPicture(true)">
99
<ion-icon name="camera" class="attachment-icon"></ion-icon>
1010
<div class="attachment-name">Camera</div>
1111
</button>

0 commit comments

Comments
 (0)