fix(StatusModal): reset image/identicon width when loader state has changed

This commit is contained in:
Pascal Precht 2021-07-21 11:46:22 +02:00
parent ca6fb2b9e4
commit e4e7ebe3cd
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ Row {
Loader { Loader {
id: iconOrImage id: iconOrImage
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
width: active ? 40 : 0
sourceComponent: { sourceComponent: {
if (statusImageWithTitle.icon.isLetterIdenticon) { if (statusImageWithTitle.icon.isLetterIdenticon) {
return statusLetterIdenticon return statusLetterIdenticon