Calendar: conditional weather card - wip

This commit is contained in:
ItsLemmy
2025-10-30 14:02:42 -04:00
parent 114cbc9f9f
commit ca72a5ca8f
11 changed files with 66 additions and 106 deletions
+9
View File
@@ -86,6 +86,15 @@ ColumnLayout {
enabled: Settings.data.location.weatherEnabled
opacity: Settings.data.location.weatherEnabled ? 1.0 : 0.5
}
NToggle {
label: I18n.tr("settings.location.weather.show-in-calendar.label")
description: I18n.tr("settings.location.weather.show-in-calendar.description")
checked: Settings.data.location.showCalendarWeather
onToggled: checked => Settings.data.location.showCalendarWeather = checked
enabled: Settings.data.location.weatherEnabled
opacity: Settings.data.location.weatherEnabled ? 1.0 : 0.5
}
}
NDivider {