Skip to content

Commit

Permalink
Show photo upload error message correctly on android
Browse files Browse the repository at this point in the history
  • Loading branch information
salah3x committed Aug 8, 2019
1 parent 374f72f commit 2cc8395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/settings/photo-upload/photo-upload.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class PhotoUploadPage implements OnInit {
await loader.dismiss();
await (await this.alertCtrl.create({
header: 'Error',
message: err,
message: err.message || err,
buttons: [{ text: 'Close', role: 'cancel' }]
})).present();
}
Expand Down

0 comments on commit 2cc8395

Please sign in to comment.