Skip to content

Commit

Permalink
Update WidgetViewCompability.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Oct 9, 2023
1 parent e3cce50 commit e005014
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extension EnvironmentValues {

public var widgetContentMarginsCompability: EdgeInsets {
get {
if #available(iOS 17.0, macOS 14.0, *) {
if #available(iOS 17.0, macOS 14.0, watchOS 10.0, *) {
return self.widgetContentMargins
} else {
return .init(top: 16, leading: 16, bottom: 16, trailing: 16)
Expand Down

0 comments on commit e005014

Please sign in to comment.