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

View file

@ -185,7 +185,7 @@ Page {
delegate: ItemUser {
onClicked: {
pageStack.push(Qt.resolvedUrl("Profile.qml"), {
"displayname": model.account_username,
"display_name": model.account_display_name,
"username": model.account_acct,
"user_id": model.account_id,
"profileImage": model.account_avatar
@ -261,7 +261,7 @@ Page {
navigation.navigateTo('search')
} else {
pageStack.push(Qt.resolvedUrl("Browser.qml"), {"href" : href})
Qt.openUrlExternally(href);
}
}
Component.onCompleted: {