From fd6fb1f340d44a362f99675a8df4f926c389f3cc Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 18 Nov 2020 17:27:30 +0100 Subject: [PATCH] Adjust 'no rooms' message when searching for rooms Fix #20 --- imports/NeoChat/Page/RoomListPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/NeoChat/Page/RoomListPage.qml b/imports/NeoChat/Page/RoomListPage.qml index a55eacd32..bb229dcc1 100644 --- a/imports/NeoChat/Page/RoomListPage.qml +++ b/imports/NeoChat/Page/RoomListPage.qml @@ -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")