1.0.3-4
-Fixed display_name -Open links in external browser
This commit is contained in:
parent
db19fb254b
commit
3dc6145743
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ BackgroundItem {
|
|||
anchors.fill: parent
|
||||
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
|
||||
|
@ -140,7 +140,7 @@ BackgroundItem {
|
|||
"profileImage": ""
|
||||
})
|
||||
} else {
|
||||
pageStack.push(Qt.resolvedUrl("../Browser.qml"), {"href" : link})
|
||||
Qt.openUrlExternally(link);
|
||||
}
|
||||
}
|
||||
text: content.replace(new RegExp("<a ", 'g'), '<a style="text-decoration: none; color:'+(pressed ? Theme.secondaryColor : Theme.highlightColor)+'" ')
|
||||
|
|
Loading…
Reference in a new issue