summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-12-27 12:38:30 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-12-27 19:57:22 -0800
commit279b7db4d16775a5a976d8d593d4a87dd254bf5c (patch)
tree3a8ec79a9192d357dd3c24aa93975386d66ffc88 /app
parent0f8ad02e76edd2ca93a4a5a475bb3e832685f20f (diff)
Display contact profiles photo when provided in vCards over the PBAP transport. Bug-AGL: SPEC-2088 Change-Id: I48117ad76d93ae913775ecdacde6eb34e736dde2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app')
-rw-r--r--app/ContactsView.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/ContactsView.qml b/app/ContactsView.qml
index 6a0382b..539a9e8 100644
--- a/app/ContactsView.qml
+++ b/app/ContactsView.qml
@@ -54,7 +54,9 @@ Item {
anchors.leftMargin: 200
spacing: 100
Image {
- source: './images/HMI_ContactScreen_ImageHolder-01.svg'
+ source: model.modelData.photo ? model.modelData.photo : './images/HMI_ContactScreen_ImageHolder-01.svg'
+ Layout.preferredWidth: 160
+ Layout.preferredHeight: 160
}
ColumnLayout {
Label {