Commit 962f04ba authored by camilo higuita's avatar camilo higuita

add calla ctions for plasma mobile

parent 70b99923
......@@ -305,7 +305,7 @@ SwipeDelegate
ToolButton
{
icon.name: "draw-text"
icon.name: "message-new"
anchors.verticalCenter: parent.verticalCenter
icon.color: _bg.Kirigami.Theme.textColor
onClicked:
......@@ -318,14 +318,16 @@ SwipeDelegate
ToolButton
{
icon.name: "phone"
icon.name: "call-start"
anchors.verticalCenter: parent.verticalCenter
icon.color: _bg.Kirigami.Theme.textColor
onClicked:
{
if(isAndroid)
Maui.Android.call(model.tel)
Maui.Android.call(contact.tel)
else
Qt.openUrlExternally("call://" + contact.tel)
swipe.close()
}
......
......@@ -25,6 +25,9 @@ Maui.Dialog
{
if(isAndroid)
Maui.Android.call(contact.tel)
else
Qt.openUrlExternally("call://" + contact.tel)
}
headBar.middleContent: Kirigami.ActionToolBar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment