Permalink
Browse files

Step 14.17: Update selectProfilePicture in profile.ts to use getPicture

  • Loading branch information...
darkbasic committed Jun 7, 2017
1 parent a7c1979 commit a5c246de00d872f7e6ad4c5e96299488172943a4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pages/profile/profile.ts
@@ -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) => {

0 comments on commit a5c246d

Please sign in to comment.