-Fixed display_name
This commit is contained in:
molan-git 2020-01-15 21:20:58 +00:00 committed by GitHub
parent eb137d4597
commit 6348b08106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ import QtGraphicalEffects 1.0
Page { Page {
property ListModel tweets; property ListModel tweets;
property string displayname : ""; property string display_name : "";
property string username : ""; property string username : "";
property string profileImage : ""; property string profileImage : "";
property int user_id; property int user_id;
@ -39,7 +39,7 @@ Page {
followers_count = messageObject.data.followers_count followers_count = messageObject.data.followers_count
following_count = messageObject.data.following_count following_count = messageObject.data.following_count
username = messageObject.data.acct username = messageObject.data.acct
displayname = messageObject.data.display_name display_name = messageObject.data.display_name
profileImage = messageObject.data.avatar_static profileImage = messageObject.data.avatar_static
var msg = { var msg = {
@ -135,7 +135,7 @@ Page {
id: list id: list
header: ProfileHeader { header: ProfileHeader {
id: header id: header
title: displayname title: display_name
description: '@'+username description: '@'+username
image: profileImage image: profileImage
} }