Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -99,7 +99,7 @@ struct EditUserInfoPage { | @@ -99,7 +99,7 @@ struct EditUserInfoPage { | ||
| 99 | pickerSelect(index:number){ | 99 | pickerSelect(index:number){ |
| 100 | if (index === 0) { | 100 | if (index === 0) { |
| 101 | photoPickerUtils.getPhotoPicker(1).then(value => { | 101 | photoPickerUtils.getPhotoPicker(1).then(value => { |
| 102 | - if (value) { | 102 | + if (value['photoUris'].length > 0) { |
| 103 | this.headerImg = value['photoUris'][0] | 103 | this.headerImg = value['photoUris'][0] |
| 104 | } | 104 | } |
| 105 | }) | 105 | }) |
-
Please register or login to post a comment