fix: fix hardcoded space when city name is disabled in CalendarHeaderCard.qml

This commit is contained in:
Louis Margot
2026-03-01 13:23:05 +01:00
parent 1fd249164b
commit 74a4e000f4
+1 -1
View File
@@ -104,7 +104,7 @@ Rectangle {
}
NText {
text: root.weatherReady && !Settings.data.location.hideWeatherTimezone ? ` (${LocationService.data.weather.timezone_abbreviation})` : ""
text: root.weatherReady && !Settings.data.location.hideWeatherTimezone ? `${Settings.data.location.hideWeatherCityName ? "" : " "}(${LocationService.data.weather.timezone_abbreviation})` : ""
pointSize: Style.fontSizeXS
color: Qt.alpha(Color.mOnPrimary, 0.7)
}