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 Oct 16, 2017
1 parent 5f47563 commit 3ee7305
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 3ee7305

Please sign in to comment.