Fix person name displaying in ConversationDisplay

Summary: Don't ask my why this works this way

Test Plan: I see Name: phonenumber for contacts and just phonenumber for non-contacts now

Reviewers: #kde_connect, sredman

Reviewed By: #kde_connect, sredman

Subscribers: sredman, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16015
This commit is contained in:
Nicolas Fella 2018-10-08 20:36:20 +02:00
parent 3a57d45f2b
commit 45e966c290

View file

@ -36,7 +36,7 @@ Kirigami.ScrollablePage
property string conversationId property string conversationId
property string phoneNumber property string phoneNumber
title: person && person.name ? i18n("%1: %2", person.name, phoneNumber) : phoneNumber title: person.person && person.person.name ? i18n("%1: %2", person.person.name, phoneNumber) : phoneNumber
ListView { ListView {
model: QSortFilterProxyModel { model: QSortFilterProxyModel {