-Fixed display_name
-Open links in external browser
This commit is contained in:
molan-git 2020-01-15 21:30:19 +00:00 committed by GitHub
parent 493382463e
commit db19fb254b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ BackgroundItem {
anchors.fill: parent anchors.fill: parent
onClicked: { onClicked: {
pageStack.push(Qt.resolvedUrl("../Profile.qml"), { pageStack.push(Qt.resolvedUrl("../Profile.qml"), {
"displayname": account_display_name, "display_name": account_display_name,
"username": account_username, "username": account_username,
"profileImage": account_avatar "profileImage": account_avatar
}) })
@ -164,7 +164,7 @@ BackgroundItem {
send(link) send(link)
} else { } else {
pageStack.push(Qt.resolvedUrl("../Browser.qml"), {"href" : link}) Qt.openUrlExternally(link);
} }