From f5813b513c881b17df1f60e1a8e058262e971934 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 30 Jun 2023 09:37:14 +0300 Subject: [PATCH] macOS widgets --- macos/DashboardWidget/DashboardWidget.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macos/DashboardWidget/DashboardWidget.swift b/macos/DashboardWidget/DashboardWidget.swift index 55d2c7609..9cdba5aa1 100644 --- a/macos/DashboardWidget/DashboardWidget.swift +++ b/macos/DashboardWidget/DashboardWidget.swift @@ -332,6 +332,7 @@ struct DashboardWidgetEntryView : View { let formatter = NumberFormatter() formatter.numberStyle = .currency formatter.currencyCode = currency?.code ?? "USD" + formatter.locale = Locale(identifier: "en_US") formatter.minimumFractionDigits = 0 formatter.maximumFractionDigits = 0 @@ -348,7 +349,7 @@ struct DashboardWidgetEntryView : View { VStack(alignment: .leading) { HStack { - VStack { + VStack (spacing: 4) { Text(entry.configuration.dashboardField?.displayString ?? "") .font(.body) .bold()