diff --git a/smsapp/qml/ConversationList.qml b/smsapp/qml/ConversationList.qml index 3a8f97234..44f845c69 100644 --- a/smsapp/qml/ConversationList.qml +++ b/smsapp/qml/ConversationList.qml @@ -46,15 +46,6 @@ 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.childAt(0, 0).text.length == 0 @@ -269,5 +260,12 @@ Kirigami.ScrollablePage currentIndex = -1 focus = true } + + Kirigami.PlaceholderMessage { + anchors.centerIn: parent + width: parent.width - (Kirigami.Units.largeSpacing * 4) + visible: deviceConnected && view.count == 0 && view.headerItem.childAt(0, 0).text.length != 0 + text: i18ndc("kdeconnect-sms", "Placeholder message text when no messages are found", "No matches") + } } }