diff --git a/applets/weather/package/contents/ui/NoticesView.qml b/applets/weather/package/contents/ui/NoticesView.qml --- a/applets/weather/package/contents/ui/NoticesView.qml +++ b/applets/weather/package/contents/ui/NoticesView.qml @@ -21,17 +21,19 @@ id: root property var model - readonly property bool hasContent: model && model.length > 0 && model[0].length > 0 && model[1].length > 0 + readonly property bool hasContent: model && model.length > 0 && (model[0].length > 0 || model[1].length > 0) spacing: units.largeSpacing Notice { title: i18nc("weather warnings", "Warnings Issued:") model: root.model[0] + visible: model.length > 0 } Notice { title: i18nc("weather watches" ,"Watches Issued:") model: root.model[1] + visible: model.length > 0 } }