From a1f55e81581d2f98ccf28f44f90ad25b4749e512 Mon Sep 17 00:00:00 2001 From: Daniel Eden Date: Tue, 19 Sep 2023 12:02:33 +0100 Subject: [PATCH] Update design of solar chart widget --- Localizable.xcstrings | 3 +++ Widget/Solar Chart Widget/SolarChartWidgetView.swift | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Localizable.xcstrings b/Localizable.xcstrings index eda4fa4b..6e104527 100644 --- a/Localizable.xcstrings +++ b/Localizable.xcstrings @@ -139,6 +139,9 @@ } } } + }, + "%@ Location required" : { + }, "%@ of daylight" : { "localizations" : { diff --git a/Widget/Solar Chart Widget/SolarChartWidgetView.swift b/Widget/Solar Chart Widget/SolarChartWidgetView.swift index 79cc4f0b..aeaadfae 100644 --- a/Widget/Solar Chart Widget/SolarChartWidgetView.swift +++ b/Widget/Solar Chart Widget/SolarChartWidgetView.swift @@ -24,7 +24,7 @@ struct SolarChartWidgetView: View { var body: some View { if let solar, let location { - VStack { + ZStack(alignment: .topLeading) { HStack { Label { Text(solar.safeSunrise.withTimeZoneAdjustment(for: location.timeZone), style: .time)