1.0.3-4
-Fixed display_name -Open links in external browser
This commit is contained in:
parent
b1748304ba
commit
eb137d4597
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ Page {
|
||||||
delegate: ItemUser {
|
delegate: ItemUser {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
pageStack.push(Qt.resolvedUrl("Profile.qml"), {
|
pageStack.push(Qt.resolvedUrl("Profile.qml"), {
|
||||||
"displayname": model.account_username,
|
"display_name": model.account_display_name,
|
||||||
"username": model.account_acct,
|
"username": model.account_acct,
|
||||||
"user_id": model.account_id,
|
"user_id": model.account_id,
|
||||||
"profileImage": model.account_avatar
|
"profileImage": model.account_avatar
|
||||||
|
@ -261,7 +261,7 @@ Page {
|
||||||
navigation.navigateTo('search')
|
navigation.navigateTo('search')
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
pageStack.push(Qt.resolvedUrl("Browser.qml"), {"href" : href})
|
Qt.openUrlExternally(href);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
Loading…
Reference in a new issue