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:
parent
502973c1fb
commit
166118d49c
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue