From b40a7b92a1158cf329c481b1b518fa3199433bf7 Mon Sep 17 00:00:00 2001 From: Charlie Chapman Date: Fri, 8 Sep 2023 13:38:10 -0500 Subject: [PATCH] SwiftLint autocorrect --- RevenueCatUI/Data/Constants.swift | 2 +- RevenueCatUI/Views/FooterView.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RevenueCatUI/Data/Constants.swift b/RevenueCatUI/Data/Constants.swift index 0a59fbade4..d138e67ba3 100644 --- a/RevenueCatUI/Data/Constants.swift +++ b/RevenueCatUI/Data/Constants.swift @@ -26,7 +26,7 @@ enum Constants { /// For UI elements that wouldn't make sense to keep scaling up forever static let maximumDynamicTypeSize: DynamicTypeSize = .accessibility3 - + /// See https://developer.apple.com/design/human-interface-guidelines/buttons#Best-practices #if swift(>=5.9) && os(visionOS) static let minimumButtonHeight: CGFloat = 60 diff --git a/RevenueCatUI/Views/FooterView.swift b/RevenueCatUI/Views/FooterView.swift index 99cf76af33..c7d1448f19 100644 --- a/RevenueCatUI/Views/FooterView.swift +++ b/RevenueCatUI/Views/FooterView.swift @@ -228,6 +228,7 @@ private struct LinkButton: View { ) .frame(minHeight: Constants.minimumButtonHeight) } + } // MARK: - Previews