macOS widgets

This commit is contained in:
Hillel Coren 2023-06-27 18:22:41 +03:00
parent f72614a2f1
commit b226d961a7
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,6 @@ struct Provider: IntentTimelineProvider {
field: label,
value: value)
let nextUpdate = Calendar.current.date(
byAdding: DateComponents(minute: 15),
to: Date()
@ -318,6 +317,7 @@ struct DashboardWidgetEntryView : View {
}
.padding(.all)
}
.frame(maxWidth: .infinity)
.padding([.top, .bottom], 8)
.background(ContainerRelativeShape().fill(Color(colorScheme == .dark ? .black : .white)))