We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a24f5 commit b8238e4Copy full SHA for b8238e4
firebaseai/LiveAudioExample/Views/ConnectButton.swift
@@ -61,11 +61,8 @@ struct ConnectButton: View {
61
.font(.title2.bold())
62
.frame(maxWidth: .infinity)
63
.padding()
64
- .background(color)
65
- .foregroundStyle(.white)
66
- .clipShape(RoundedRectangle(cornerRadius: 12))
67
}.disabled(state == .connecting).overlay(
68
- RoundedRectangle(cornerRadius: 12)
+ RoundedRectangle(cornerRadius: 35)
69
.stroke(
70
AngularGradient(
71
gradient: Gradient(colors: gradientColors),
@@ -75,7 +72,7 @@ struct ConnectButton: View {
75
72
),
76
73
lineWidth: 3
77
74
)
78
- )
+ ).tint(color)
79
.onAppear {
80
withAnimation(.linear(duration: 5).repeatForever(autoreverses: false)) {
81
self.gradientAngle = .degrees(360)
0 commit comments