Commit 40a929a0 authored by Wescoeur's avatar Wescoeur

fix(ui/views/App/Calls/EndedCall): test call and coding style

parent fa162699
......@@ -77,15 +77,14 @@ Rectangle {
Layout.preferredHeight: CallStyle.actionArea.height
Text {
width: parent.width
color: CallStyle.header.reason.color
font.pointSize: CallStyle.header.reason.fontSize
color: CallStyle.actionArea.callError.color
font.pointSize: CallStyle.actionArea.callError.fontSize
horizontalAlignment: Text.AlignHCenter
width: parent.width
text: {
var call = endedCall.call
return call.reason
return call ? call.reason : ''
}
}
}
......
......@@ -23,6 +23,11 @@ QtObject {
property QtObject vu: QtObject {
property int spacing: 5
}
property QtObject callError: QtObject {
property color color: Colors.i
property int fontSize: 12
}
}
property QtObject container: QtObject {
......@@ -70,10 +75,5 @@ QtObject {
property QtObject stats: QtObject {
property int relativeY: 90
}
property QtObject reason: QtObject {
property color color: Colors.i
property int fontSize: 12
}
}
}
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