Add another message when no rooms are found
This commit is contained in:
@@ -292,5 +292,11 @@ Kirigami.ScrollablePage {
|
|||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
visible: publicRoomsListView.model.loading && publicRoomsListView.count === 0
|
visible: publicRoomsListView.model.loading && publicRoomsListView.count === 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Kirigami.PlaceholderMessage {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
visible: !publicRoomsListView.model.loading && publicRoomsListView.count === 0
|
||||||
|
text: i18nc("@info:label", "No rooms found")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user