update profile picture after close modal

This commit is contained in:
Eudes Inácio
2023-08-30 14:02:14 +01:00
parent 95e24aa1e4
commit 377ba3fda3
6 changed files with 19 additions and 8 deletions
@@ -148,7 +148,7 @@ export class EditProfilePage implements OnInit {
const capturedImage = await Camera.getPhoto({
width: 188,
height: 188,
quality: 50,
quality: 100,
// allowEditing: true,
resultType: CameraResultType.Base64,
source: CameraSource.Camera
+1
View File
@@ -422,6 +422,7 @@ export class ProfilePage implements OnInit {
modal.onDidDismiss().then(() => {
this.isProfileOpen = false;
this.getProfilpicture()
}, (error) => {
console.log(error)
})