Skip to content

Commit e005014

Browse files
committed
Update WidgetViewCompability.swift
1 parent e3cce50 commit e005014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftUIExtension/Compability/WidgetViewCompability.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extension EnvironmentValues {
77

88
public var widgetContentMarginsCompability: EdgeInsets {
99
get {
10-
if #available(iOS 17.0, macOS 14.0, *) {
10+
if #available(iOS 17.0, macOS 14.0, watchOS 10.0, *) {
1111
return self.widgetContentMargins
1212
} else {
1313
return .init(top: 16, leading: 16, bottom: 16, trailing: 16)

0 commit comments

Comments
 (0)