Further handling of disableChatFeature

This commit is contained in:
Christophe Deschamps 2024-10-03 16:10:37 +02:00
parent b8aa7d7ebc
commit c32bb7c905
2 changed files with 2 additions and 2 deletions

View file

@ -252,6 +252,7 @@ ListView {
icon.source: AppIcons.chatTeardropText
focus: visible && !callButton.visible
contentImageColor: DefaultStyle.main2_500main
visible: !SettingsCpp.disableChatFeature
background: Rectangle {
anchors.fill: parent
radius: 40 * DefaultStyle.dp

View file

@ -366,8 +366,7 @@ Item {
}
MagicSearchButton {
id: chatButton
// TODO : visible true when chat available
// visible: false
visible: !SettingsCpp.disableChatFeature
Layout.preferredWidth: 45 * DefaultStyle.dp
Layout.preferredHeight: 45 * DefaultStyle.dp
icon.source: AppIcons.chatTeardropText