Commit 518f161b authored by Aniket Kumar's avatar Aniket Kumar 🤵 Committed by Simon Redman
Browse files

added message diaplay for no matched contacts

parent b0cffea4
......@@ -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 {
......
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