We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e90c33e commit a17113bCopy full SHA for a17113b
Shared/Samples/Browse OGC API feature service/BrowseOGCAPIFeatureServiceView.swift
@@ -20,7 +20,7 @@ struct BrowseOGCAPIFeatureServiceView: View {
20
@State private var error: Error?
21
22
/// A Boolean value indicating whether the textfield alert should be presented.
23
- @State private var textfieldAlertIsPresented = true
+ @State private var textfieldAlertIsPresented = false
24
25
/// The data model for the sample.
26
@StateObject private var model = Model()
@@ -92,6 +92,9 @@ struct BrowseOGCAPIFeatureServiceView: View {
92
} message: {
93
Text("Please provide a URL to an OGC API feature service.")
94
}
95
+ .onAppear {
96
+ textfieldAlertIsPresented = true
97
+ }
98
.errorAlert(presentingError: $error)
99
100
0 commit comments