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
ChangeProfilePicModal {
largeImage: store.profileLargeImage
hasIdentityImage: store.hasIdentityImage
hasIdentityImage: store.profileHasIdentityImage
onCropFinished: {
uploadError = store.uploadImage(selectedImage, aX, aY, bX, bY)
}

View File

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