Commit c076f1be authored by Ronan's avatar Ronan
Browse files

fix(SipAddressView): hide correctly video button when not available on default contact

parent 68e5eeb8
......@@ -98,19 +98,16 @@ ScrollableListView {
Repeater {
model: sipAddressesView.actions
Loader {
active: {
var active = sipAddressesView.actions[index].active
return active === undefined || active
ActionButton {
icon: modelData.icon
visible: {
var visible = sipAddressesView.actions[index].visible
return visible === undefined || visible
}
sourceComponent: ActionButton {
icon: modelData.icon
iconSize: defaultContactActionBar.iconSize
onClicked: sipAddressesView.actions[index].handler({
sipAddress: sipAddressesView.interpretableSipAddress
})
}
onClicked: sipAddressesView.actions[index].handler({
sipAddress: sipAddressesView.interpretableSipAddress
})
}
}
}
......
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