Skip to content

Commit

Permalink
Remove TextField from RootView
Browse files Browse the repository at this point in the history
  • Loading branch information
stleamist committed Oct 29, 2023
1 parent c9cc952 commit 5a498c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Demo/iOS/Views/RootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 }) {
Expand Down

0 comments on commit 5a498c7

Please sign in to comment.