mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
feat(location): add toggle to always show Talia weather emojis
This commit is contained in:
@@ -129,6 +129,15 @@ ColumnLayout {
|
||||
enabled: Settings.data.location.weatherEnabled
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("panels.location.weather-talia-mascot-always-label")
|
||||
description: I18n.tr("panels.location.weather-talia-mascot-always-description")
|
||||
checked: Settings.data.location.weatherTaliaMascotAlways
|
||||
onToggled: checked => Settings.data.location.weatherTaliaMascotAlways = checked
|
||||
enabled: Settings.data.location.weatherEnabled
|
||||
defaultValue: Settings.getDefaultValue("location.weatherTaliaMascotAlways")
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("panels.location.weather-hide-city-label")
|
||||
description: I18n.tr("panels.location.weather-hide-city-description")
|
||||
|
||||
Reference in New Issue
Block a user