From eb137d4597d9f49779dd82c4b368abb1a2cdf135 Mon Sep 17 00:00:00 2001 From: molan-git <59296158+molan-git@users.noreply.github.com> Date: Wed, 15 Jan 2020 21:19:51 +0000 Subject: [PATCH] 1.0.3-4 -Fixed display_name -Open links in external browser --- qml/pages/MainPage.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 3745cc7..2897ba6 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -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: {