Fix issue with clear image button. Will only be visible if the user has an avatar (local or saved)

This commit is contained in:
Jose Flores
2022-02-11 16:01:46 -06:00
committed by Tobias Fella
parent cba88e1af7
commit 8b8e521c56

View File

@@ -139,7 +139,7 @@ Kirigami.ScrollablePage {
}
}
Controls.Button {
visible: avatar.source.length !== 0
visible: avatar.source.toString().length !== 0
icon.name: "edit-clear"
onClicked: avatar.source = ""