summaryrefslogtreecommitdiffstats
path: root/app/Dialer.qml
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2018-05-22 11:33:10 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-05-22 11:33:10 +0000
commit361f599d0786b0b2729350a622c2a32a6a4862b5 (patch)
tree3337212cb405995d5247aa03197be298576e896a /app/Dialer.qml
parent4555731ec96de6e2ff29105e3a50df51a8278d2a (diff)
parentb00822fe8b233f33adca86f93e5c1b90050983aa (diff)
Merge "contacts: handle multiple numbers and types"
Diffstat (limited to 'app/Dialer.qml')
-rw-r--r--app/Dialer.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Dialer.qml b/app/Dialer.qml
index 0bf51cf..f9c3e27 100644
--- a/app/Dialer.qml
+++ b/app/Dialer.qml
@@ -59,7 +59,8 @@ Item {
signal showContacts
function call(contact) {
name.text = contact.name
- number.text = contact.number
+ var rawNumber = contact.numbers.get(0).number
+ number.text = rawNumber.replace(/-/g, '')
callButton.checked = true
}