Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add avatar url to profile creation screen #45

Open
wants to merge 1 commit into
base: oven
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions app/resources/routes/settings/OverrideForm.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Kirigami.FormLayout {
width: 600

property alias data_display: display.text
property alias data_avatar: avatar.text
property alias data_before: before.text
property alias data_after: after.text

Expand Down Expand Up @@ -53,4 +54,11 @@ Kirigami.FormLayout {
Layout.maximumWidth: 300
Layout.fillWidth: true
}
RowLayout {
Kirigami.FormData.label: qsTr("Avatar URL:")

QQC2.TextField {
id: avatar
}
}
}
2 changes: 1 addition & 1 deletion app/resources/routes/settings/OverrideSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Item {
if (!ok) {
return
}
overridesSettings.model.addOverride(formLayout.data_display, "", formLayout.data_before, formLayout.data_after)
overridesSettings.model.addOverride(formLayout.data_display, formLayout.data_avatar, formLayout.data_before, formLayout.data_after)
}

width: 600
Expand Down