diff --git a/Demo/iOS/Views/RootView.swift b/Demo/iOS/Views/RootView.swift index baba374..d11df42 100644 --- a/Demo/iOS/Views/RootView.swift +++ b/Demo/iOS/Views/RootView.swift @@ -16,9 +16,7 @@ struct RootView: View { @State private var showingWebAuthenticationSessionOptionsForm = false @State private var webAuthenticationSessionCallbackURL: URL? = nil - - @State private var text = "" - + var body: some View { NavigationView { List { @@ -76,7 +74,7 @@ struct RootView: View { } } - TextField("Text field", text: $text) + TextField("Text field", text: .constant("Hello")) Section(header: Text("NaiveSafariView" + "\n" + "(Just for comparison. Do not use in practice.)").textCase(nil)) { Button(action: { showingNaiveSafariViewSheet = true }) {