Merge pull request #1155 from Armored-Dragon/fix/avatarAppIconIssues

[ Avatar App ] Fixed lingering references to now deleted QML element
This commit is contained in:
ksuprynowicz 2024-10-05 21:55:23 +02:00 committed by GitHub
commit af1306b8b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 6 deletions

View file

@ -238,7 +238,6 @@ Rectangle {
}
pageTitle: currentPage
avatarIconVisible: mainPageVisible
settingsButtonVisible: mainPageVisible
onSettingsClicked: {
displayNameInput.focus = false;

View file

@ -9,7 +9,6 @@ ShadowRectangle {
height: 60
property alias pageTitle: title.text
property alias avatarIconVisible: avatarIcon.visible
property alias settingsButtonVisible: settingsButton.visible
signal settingsClicked;
@ -24,9 +23,8 @@ ShadowRectangle {
RalewaySemiBold {
id: title
size: 22;
anchors.left: avatarIcon.visible ? avatarIcon.right : avatarIcon.left
anchors.leftMargin: 4
anchors.verticalCenter: avatarIcon.verticalCenter
x: 20
anchors.verticalCenter: parent.verticalCenter
text: 'Avatar'
}
@ -34,7 +32,7 @@ ShadowRectangle {
id: settingsButton
anchors.right: parent.right
anchors.rightMargin: 30
anchors.verticalCenter: avatarIcon.verticalCenter
anchors.verticalCenter: parent.verticalCenter
text: "&"
MouseArea {