From 510992719c3f8f387b75d3a36709da413834b498 Mon Sep 17 00:00:00 2001 From: Alexandr Romanov Date: Sun, 6 Oct 2024 12:01:23 +0400 Subject: [PATCH] Fix iOS build --- Sources/OversizeUI/Controls/Button/FieldButtonStyle.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/OversizeUI/Controls/Button/FieldButtonStyle.swift b/Sources/OversizeUI/Controls/Button/FieldButtonStyle.swift index 1a79818..2af80b3 100644 --- a/Sources/OversizeUI/Controls/Button/FieldButtonStyle.swift +++ b/Sources/OversizeUI/Controls/Button/FieldButtonStyle.swift @@ -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