fix(@desktop/profile): make profile image work again

There is a bug in the store property accessed for the profile image.
This commit corrects it. It also ensures that the image source used in the
`ImageLoader` component is correct.
This commit is contained in:
Pascal Precht 2021-10-18 11:03:38 +02:00 committed by Iuri Matias
parent 502973c1fb
commit 166118d49c
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ Item {
id: changeProfileModalComponent id: changeProfileModalComponent
ChangeProfilePicModal { ChangeProfilePicModal {
largeImage: store.profileLargeImage largeImage: store.profileLargeImage
hasIdentityImage: store.hasIdentityImage hasIdentityImage: store.profileHasIdentityImage
onCropFinished: { onCropFinished: {
uploadError = store.uploadImage(selectedImage, aX, aY, bX, bY) uploadError = store.uploadImage(selectedImage, aX, aY, bX, bY)
} }

View File

@ -89,7 +89,7 @@ Rectangle {
Component { Component {
id: reload id: reload
SVGImage { SVGImage {
source: "../app/img/reload.svg" source: Style.svg("reload")
mipmap: false mipmap: false
width: 15.5 width: 15.5
height: 19.5 height: 19.5