Skip to content

Commit b6ac0aa

Browse files
committed
update button ala swift 5.3
1 parent 9441995 commit b6ac0aa

File tree

1 file changed

+1
-4
lines changed
  • Chapter04- Creating new Components, Grouping views in Container Views/01 - Form-Showing and hiding secction/signUp

1 file changed

+1
-4
lines changed

Chapter04- Creating new Components, Grouping views in Container Views/01 - Form-Showing and hiding secction/signUp/signUpView.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,8 @@ struct signUpView: View {
4444
SecureField("Password", text: $password)
4545
}
4646

47-
Button(action: {
47+
Button("Submit") {
4848
print("Form submit action here")
49-
}){
50-
Text("Submit")
51-
5249
}
5350

5451
}.navigationBarTitle("Sign Up")

0 commit comments

Comments
 (0)