mirror of
https://github.com/KDE/kasts.git
synced 2025-01-11 16:13:56 +01:00
Add PlaceholderMessage to EntryList
This commit is contained in:
parent
eaa4d41d7c
commit
60341592f1
@ -45,7 +45,18 @@ Kirigami.ScrollablePage {
|
||||
entryListModel.fetch();
|
||||
}
|
||||
|
||||
Kirigami.PlaceholderMessage {
|
||||
visible: entryList.count === 0
|
||||
|
||||
width: Kirigami.Units.gridUnit * 20
|
||||
anchors.centerIn: parent
|
||||
|
||||
text: i18n("No Entries available.")
|
||||
}
|
||||
|
||||
ListView {
|
||||
id: entryList
|
||||
visible: count !== 0
|
||||
model: EntryListModel {
|
||||
id: entryListModel
|
||||
feed: page.data.url
|
||||
|
Loading…
Reference in New Issue
Block a user