Skip to content

Commit

Permalink
Step 14.17: Update selectProfilePicture in profile.ts to use getPicture
Browse files Browse the repository at this point in the history
  • Loading branch information
darkbasic committed Jun 15, 2017
1 parent a7c1979 commit a5c246d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/profile/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class ProfilePage implements OnInit {
}

selectProfilePicture(): void {
this.pictureService.select().then((blob) => {
this.pictureService.getPicture(false, true).then((blob) => {
this.uploadProfilePicture(blob);
})
.catch((e) => {
Expand Down

0 comments on commit a5c246d

Please sign in to comment.