diff --git a/Modules/Bar/Calendar/CalendarPanel.qml b/Modules/Bar/Calendar/CalendarPanel.qml index 05f7f1a4..230365ad 100644 --- a/Modules/Bar/Calendar/CalendarPanel.qml +++ b/Modules/Bar/Calendar/CalendarPanel.qml @@ -253,11 +253,11 @@ NPanel { } Behavior on Layout.preferredWidth { - NumberAnimation { - duration: Style.animationFast - easing.type: Easing.InOutQuad - } - } + NumberAnimation { + duration: Style.animationFast + easing.type: Easing.InOutQuad + } + } ColumnLayout { anchors.fill: parent @@ -669,6 +669,7 @@ NPanel { Layout.fillWidth: true Layout.preferredHeight: implicitHeight forecastDays: 6 + showLocation: false } } } diff --git a/Modules/ControlCenter/Cards/WeatherCard.qml b/Modules/ControlCenter/Cards/WeatherCard.qml index 6b4d5c22..b99a5a05 100644 --- a/Modules/ControlCenter/Cards/WeatherCard.qml +++ b/Modules/ControlCenter/Cards/WeatherCard.qml @@ -10,6 +10,7 @@ NBox { id: root property int forecastDays: 7 + property bool showLocation: true readonly property bool weatherReady: Settings.data.location.weatherEnabled && (LocationService.data.weather !== null) visible: Settings.data.location.weatherEnabled @@ -47,6 +48,7 @@ NBox { } pointSize: Style.fontSizeL font.weight: Style.fontWeightBold + visible: showLocation } RowLayout { @@ -73,7 +75,7 @@ NBox { text: weatherReady ? `(${LocationService.data.weather.timezone_abbreviation})` : "" pointSize: Style.fontSizeXS color: Color.mOnSurfaceVariant - visible: LocationService.data.weather + visible: LocationService.data.weather && showLocation } } }