macOS widgets
This commit is contained in:
parent
f72614a2f1
commit
b226d961a7
|
|
@ -160,7 +160,6 @@ struct Provider: IntentTimelineProvider {
|
||||||
field: label,
|
field: label,
|
||||||
value: value)
|
value: value)
|
||||||
|
|
||||||
|
|
||||||
let nextUpdate = Calendar.current.date(
|
let nextUpdate = Calendar.current.date(
|
||||||
byAdding: DateComponents(minute: 15),
|
byAdding: DateComponents(minute: 15),
|
||||||
to: Date()
|
to: Date()
|
||||||
|
|
@ -318,6 +317,7 @@ struct DashboardWidgetEntryView : View {
|
||||||
}
|
}
|
||||||
.padding(.all)
|
.padding(.all)
|
||||||
}
|
}
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
.padding([.top, .bottom], 8)
|
.padding([.top, .bottom], 8)
|
||||||
.background(ContainerRelativeShape().fill(Color(colorScheme == .dark ? .black : .white)))
|
.background(ContainerRelativeShape().fill(Color(colorScheme == .dark ? .black : .white)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue