mirror of
https://github.com/yattee/yattee.git
synced 2025-11-16 06:58:43 +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()
|
||||
}
|
||||
.animation(nil)
|
||||
.edgesIgnoringSafeArea(edgesIgnoringSafeArea)
|
||||
#if os(iOS)
|
||||
.edgesIgnoringSafeArea(edgesIgnoringSafeArea)
|
||||
#endif
|
||||
#if os(macOS)
|
||||
.background(Color.secondaryBackground)
|
||||
.frame(minWidth: Constants.contentViewMinWidth)
|
||||
|
||||
Reference in New Issue
Block a user