From 094f265a9f444a4b2385385d7c31e81f3a9522f0 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Thu, 26 Sep 2024 08:35:31 +0200 Subject: [PATCH] Adjust magisearch bar place holder when chat is disabled --- Linphone/view/Page/Layout/Main/MainLayout.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linphone/view/Page/Layout/Main/MainLayout.qml b/Linphone/view/Page/Layout/Main/MainLayout.qml index 12044e41..f1210ce2 100644 --- a/Linphone/view/Page/Layout/Main/MainLayout.qml +++ b/Linphone/view/Page/Layout/Main/MainLayout.qml @@ -177,7 +177,7 @@ Item { SearchBar { id: magicSearchBar Layout.fillWidth: true - placeholderText: qsTr("Rechercher un contact, appeler ou envoyer un message...") + placeholderText: SettingsCpp.disableChatFeature ? qsTr("Rechercher un contact, appeler...") : qsTr("Rechercher un contact, appeler ou envoyer un message...") focusedBorderColor: DefaultStyle.main1_500_main numericPadButton.visible: text.length === 0 numericPadButton.checkable: false