Skip to content

Commit

Permalink
Fix watchOS field
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Oct 6, 2024
1 parent 35fd367 commit cb90839
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ public struct LabeledTextFieldStyle: TextFieldStyle {
#if canImport(UIKit)
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 cb90839

Please sign in to comment.