added message diaplay for no matched contacts
This commit is contained in:
parent
b0cffea4a1
commit
518f161b4f
1 changed files with 10 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue