Minimum changes for Xcode 11 beta 5

This commit is contained in:
John Holdsworth
2019-07-31 14:11:25 +01:00
parent 7af0a711da
commit a36ff1b7ca
48 changed files with 209 additions and 114 deletions

View File

@@ -24,11 +24,11 @@
return NavigationView {
VStack(alignment: .leading, spacing: 10) {
Text("User name")
TextField($newUserName, placeholder: Text("New name"))
TextField("New name", text: $newUserName)
.textFieldStyle(.roundedBorder)
Divider()
Text("Username")
TextField($newUserUsername, placeholder: Text("New username"))
TextField("New username", text: $newUserUsername)
.textFieldStyle(.roundedBorder)
}.padding(16)
Button(action: save) {