Skip to content

Commit 9856ef5

Browse files
committed
Add full width back to connect button
1 parent 0d07e72 commit 9856ef5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

firebaseai/FirebaseAIExample/Features/Live/Views/ConnectButton.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ struct ConnectButton: View {
4141

4242
var body: some View {
4343
Button(action: onClick) {
44-
Label(title, systemImage: image).padding()
44+
Label(title, systemImage: image)
45+
.frame(maxWidth: .infinity)
46+
.padding()
4547
}
4648
.buttonStyle(.connect(state: state, gradientAngle: gradientAngle))
4749
.onAppear {

0 commit comments

Comments
 (0)