feat: add last refresh timestamp to weather popup (#2819)

This commit is contained in:
end-4
2026-01-04 10:37:09 +01:00
committed by GitHub
2 changed files with 14 additions and 1 deletions
@@ -100,5 +100,16 @@ StyledPopup {
value: Weather.data.sunset
}
}
// Footer: last refresh
StyledText {
Layout.alignment: Qt.AlignHCenter
text: Translation.tr("Last refresh: %1").arg(Weather.data.lastRefresh)
font {
weight: Font.Medium
pixelSize: Appearance.font.pixelSize.smaller
}
color: Appearance.colors.colOnSurfaceVariant
}
}
}