mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-21 17:09:25 +01:00
Minimum changes for Xcode 11 beta 5
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user