Commit 7c5c1255 authored by Ronan's avatar Ronan

fix(SmartSearchBar): hide "add button" if contacts are disabled

parent cf61cd40
Pipeline #192 failed with stage
in 0 seconds
......@@ -61,7 +61,7 @@ SearchBox {
headerButtonDescription: qsTr('addContact')
headerButtonIcon: 'contact_add'
headerButtonAction: (function (sipAddress) {
headerButtonAction: SettingsModel.contactsEnabled && (function (sipAddress) {
searchBox.closeMenu()
searchBox.addContact(sipAddress)
})
......
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