From 518f161b4f80b22ed1cae496a211909d7d42cda7 Mon Sep 17 00:00:00 2001 From: Aniket Kumar Date: Mon, 13 Apr 2020 09:32:27 +0530 Subject: [PATCH] added message diaplay for no matched contacts --- smsapp/qml/ConversationList.qml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/smsapp/qml/ConversationList.qml b/smsapp/qml/ConversationList.qml index 8d48cf01f..ef54f426f 100644 --- a/smsapp/qml/ConversationList.qml +++ b/smsapp/qml/ConversationList.qml @@ -60,9 +60,18 @@ Kirigami.ScrollablePage } ] + Label { + id: searchResultIndiactor + visible: deviceConnected && view.count == 0 && view.headerItem.childAt(0, 0).text.length != 0 + anchors.centerIn: parent + text: i18nd("kdeconnect-sms", "No matched results found : (") + horizontalAlignment: Text.AlignHCenter + wrapMode: Text.Wrap + } + ColumnLayout { id: loadingMessage - visible: deviceConnected && view.count == 0 && view.headerItem.filter.text.length == 0 + visible: deviceConnected && view.count == 0 && view.headerItem.childAt(0, 0).text.length == 0 anchors.centerIn: parent BusyIndicator {