Commit 602993b4 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/views/App/Calls/Incall): remove sip address in this view

parent 68ccd50f
......@@ -62,6 +62,25 @@ Rectangle {
Layout.rightMargin: CallStyle.header.rightMargin
Layout.preferredHeight: CallStyle.header.contactDescription.height
Text {
id: elapsedTime
anchors.bottom: parent.bottom
color: CallStyle.header.elapsedTime.color
font.pointSize: CallStyle.header.elapsedTime.pointSize
horizontalAlignment: Text.AlignHCenter
width: parent.width
Timer {
interval: 1000
repeat: true
running: true
triggeredOnStart: true
onTriggered: elapsedTime.text = Utils.formatElapsedTime(call.duration)
}
}
ActionBar {
id: leftActions
......@@ -121,7 +140,7 @@ Rectangle {
anchors.centerIn: parent
horizontalTextAlignment: Text.AlignHCenter
sipAddress: _sipAddressObserver.sipAddress
sipAddress: ''
username: LinphoneUtils.getContactUsername(_sipAddressObserver.contact || sipAddress)
height: parent.height
......@@ -167,24 +186,6 @@ Rectangle {
}
}
Text {
id: elapsedTime
Layout.fillWidth: true
color: CallStyle.header.elapsedTime.color
font.pointSize: CallStyle.header.elapsedTime.pointSize
horizontalAlignment: Text.AlignHCenter
Timer {
interval: 1000
repeat: true
running: true
triggeredOnStart: true
onTriggered: elapsedTime.text = Utils.formatElapsedTime(call.duration)
}
}
// -------------------------------------------------------------------------
// Contact visual.
// -------------------------------------------------------------------------
......
......@@ -32,7 +32,7 @@ QtObject {
}
property QtObject container: QtObject {
property int margins: 20
property int margins: 15
property QtObject avatar: QtObject {
property color backgroundColor: Colors.w
......@@ -63,7 +63,7 @@ QtObject {
}
property QtObject contactDescription: QtObject {
property int height: 60
property int height: 50
property int width: 150
}
......
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