1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-15 07:35:20 -04:00

settings: add DankSpinner, re-org some settings

This commit is contained in:
bbedward
2026-06-10 18:53:43 -04:00
parent 12438d63c2
commit cd672c341f
39 changed files with 4788 additions and 4523 deletions
@@ -20,17 +20,25 @@ Card {
spacing: Theme.spacingS
visible: !WeatherService.weather.available
DankSpinner {
size: 24
visible: WeatherService.weather.loading
anchors.horizontalCenter: parent.horizontalCenter
}
DankIcon {
name: "cloud_off"
size: 24
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.5)
visible: !WeatherService.weather.loading
anchors.horizontalCenter: parent.horizontalCenter
}
StyledText {
text: WeatherService.weather.loading ? I18n.tr("Loading...") : I18n.tr("No Weather")
text: I18n.tr("No Weather")
font.pixelSize: Theme.fontSizeSmall
color: Qt.rgba(Theme.surfaceText.r, Theme.surfaceText.g, Theme.surfaceText.b, 0.7)
visible: !WeatherService.weather.loading
anchors.horizontalCenter: parent.horizontalCenter
}