Fixed lingering references to avatarIcon.

Signed-off-by: armored-dragon <publicmail@armoreddragon.com>
This commit is contained in:
armored-dragon 2024-10-03 10:38:01 -05:00
parent 2824067ecb
commit 9a989e5ada
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B
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 {