Skip to content

Commit 0d6e84e

Browse files
committed
Split view modifiers across two lines
1 parent c75c740 commit 0d6e84e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ struct ConnectButton: View {
5757

5858
var body: some View {
5959
Button(action: onClick) {
60-
Label(title, systemImage: image)
61-
.padding()
62-
}.disabled(state == .connecting).overlay(
60+
Label(title, systemImage: image).padding()
61+
}
62+
.disabled(state == .connecting)
63+
.overlay(
6364
RoundedRectangle(cornerRadius: 35)
6465
.stroke(
6566
AngularGradient(

0 commit comments

Comments
 (0)