Adjust 'no rooms' message when searching for rooms

Fix #20
This commit is contained in:
Carl Schwan
2020-11-18 17:27:30 +01:00
parent 3a6f1da1f9
commit fd6fb1f340

View File

@@ -42,7 +42,7 @@ Kirigami.ScrollablePage {
anchors.centerIn: parent
width: parent.width - (Kirigami.Units.largeSpacing * 4)
visible: listView.count == 0
text: i18n("You didn't join any room yet.")
text: sortFilterRoomListModel.filterText.length > 0 ? i18n("No room found.") : i18n("You didn't join any room yet.")
helpfulAction: Kirigami.Action {
icon.name: "list-add"
text: i18n("Explore rooms")