diff --git a/Set/SetGameView.swift b/Set/SetGameView.swift index 3fe8fad..e313944 100644 --- a/Set/SetGameView.swift +++ b/Set/SetGameView.swift @@ -87,7 +87,7 @@ struct CardView: View { VStack { ForEach (0.. some View { + private func createShape(height: CGFloat) -> some View { switch symbol { case .diamond: colorShape(Diamond()) + .frame(height: height) case .squiggles: colorShape(Rectangle()) + .frame(height: height) default: colorShape(RoundedRectangle(cornerRadius: 100)) + .frame(height: height) } }