diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-12-27 12:38:30 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-12-27 19:57:22 -0800 |
commit | 279b7db4d16775a5a976d8d593d4a87dd254bf5c (patch) | |
tree | 3a8ec79a9192d357dd3c24aa93975386d66ffc88 /app/ContactsView.qml | |
parent | 0f8ad02e76edd2ca93a4a5a475bb3e832685f20f (diff) |
phone: qml: add photo support for contactshalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4
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/ContactsView.qml')
-rw-r--r-- | app/ContactsView.qml | 4 |
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 { |