From cb908392fb26b654a815d7c56c0915ffc373d752 Mon Sep 17 00:00:00 2001 From: Alexandr Romanov Date: Sun, 6 Oct 2024 11:57:25 +0400 Subject: [PATCH] Fix watchOS field --- .../OversizeUI/Controls/TextField/LabeledTextFieldStyle.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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