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 13, 2017
1 parent 5af423a commit c0a05e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/profile/profile.ts
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 c0a05e8

Please sign in to comment.