Show network errors when entryList is empty
This commit is contained in:
parent
a321122e5c
commit
1065e3cdd9
@ -33,6 +33,7 @@ if(ANDROID)
|
||||
alligator
|
||||
mail-sent
|
||||
globe
|
||||
data-error
|
||||
)
|
||||
else()
|
||||
target_link_libraries(alligator PRIVATE Qt5::Widgets)
|
||||
|
@ -61,7 +61,8 @@ Kirigami.ScrollablePage {
|
||||
width: Kirigami.Units.gridUnit * 20
|
||||
anchors.centerIn: parent
|
||||
|
||||
text: i18n("No Entries available.")
|
||||
text: feed.errorId === 0 ? i18n("No Entries available.") : i18n("Error (%1): %2", feed.errorId, feed.errorString)
|
||||
icon.name: feed.errorId === 0 ? "" : "data-error"
|
||||
}
|
||||
|
||||
ListView {
|
||||
|
Loading…
x
Reference in New Issue
Block a user