From 2a2d38a4b26016f3dd0a6564786113d9dd2fe8dc Mon Sep 17 00:00:00 2001 From: CheolHyun Mun Date: Tue, 14 Feb 2023 00:27:42 +0900 Subject: [PATCH] Add underscore type parameter name --- Source/ActivityIndicatorView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ActivityIndicatorView.swift b/Source/ActivityIndicatorView.swift index c0aedb5..876a1d6 100644 --- a/Source/ActivityIndicatorView.swift +++ b/Source/ActivityIndicatorView.swift @@ -20,7 +20,7 @@ public struct ActivityIndicatorView: View { case equalizer(count: Int = 5) case growingArc(Color = .black, lineWidth: CGFloat = 4) case growingCircle - case gradient([Color], CGLineCap = .butt, lineWidth: CGFloat = 4) + case gradient(_ colors: [Color], CGLineCap = .butt, lineWidth: CGFloat = 4) } @Binding var isVisible: Bool