Skip to content

Commit

Permalink
Updated widgetContentMarginsCompability.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Oct 5, 2023
1 parent 6b1b5d3 commit e3cce50
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, *) {
if #available(iOS 17.0, macOS 14.0, *) {
return self.widgetContentMargins
} else {
return .init(top: 16, leading: 16, bottom: 16, trailing: 16)
Expand Down

0 comments on commit e3cce50

Please sign in to comment.