mirror of
https://github.com/yattee/yattee.git
synced 2025-12-07 08:38:14 +00:00
Fix edgesIgnoringSafeArea availability for iOS only
Wrapped edgesIgnoringSafeArea modifier in iOS platform check to fix build issues on other platforms.
This commit is contained in:
@@ -49,7 +49,9 @@ struct VerticalCells<Header: View>: View {
|
|||||||
.padding()
|
.padding()
|
||||||
}
|
}
|
||||||
.animation(nil)
|
.animation(nil)
|
||||||
.edgesIgnoringSafeArea(edgesIgnoringSafeArea)
|
#if os(iOS)
|
||||||
|
.edgesIgnoringSafeArea(edgesIgnoringSafeArea)
|
||||||
|
#endif
|
||||||
#if os(macOS)
|
#if os(macOS)
|
||||||
.background(Color.secondaryBackground)
|
.background(Color.secondaryBackground)
|
||||||
.frame(minWidth: Constants.contentViewMinWidth)
|
.frame(minWidth: Constants.contentViewMinWidth)
|
||||||
|
|||||||
Reference in New Issue
Block a user