fix(android): add coordinate space fallbacks for android build
This commit is contained in:
@@ -127,6 +127,15 @@ extension View {
|
||||
self
|
||||
#else
|
||||
self.layoutPriority(value)
|
||||
#endif
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
func appNamedCoordinateSpace(_ name: String) -> some View {
|
||||
#if os(Android)
|
||||
self
|
||||
#else
|
||||
self.coordinateSpace(name: name)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user