Skip to content

Commit

Permalink
Fix iOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Oct 6, 2024
1 parent cb90839 commit 5109927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/OversizeUI/Controls/Button/FieldButtonStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ public struct FieldButtonStyle: ButtonStyle {
@available(tvOS, unavailable)
private var backgroundShapeCorners: UIRectCorner {
switch fieldPosition {
case .default:
[.allCorners]
case .top:
[.topLeft, .topRight]
case .bottom:
[.bottomLeft, .bottomRight]
case .center:
[]
default:
[.allCorners]
}
}
#endif
Expand Down

0 comments on commit 5109927

Please sign in to comment.