diff --git a/Sources/OversizeUI/Controls/TextField/LabeledTextFieldStyle.swift b/Sources/OversizeUI/Controls/TextField/LabeledTextFieldStyle.swift index 3407d6e..0e41744 100644 --- a/Sources/OversizeUI/Controls/TextField/LabeledTextFieldStyle.swift +++ b/Sources/OversizeUI/Controls/TextField/LabeledTextFieldStyle.swift @@ -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