import SwiftUI struct AdvancedSettings: View { @AppStorage("backendUrl") var backendUrl: String = "" @AppStorage("keepFiles") var keepFiles = true var body: some View { Form { VStack (alignment: .leading) { LabeledContent("Backend URL") { TextField("", text: $backendUrl) }.font(.headline) LabeledContent("Keep files after remote upload") { Toggle("", isOn: $keepFiles) }.font(.headline) HStack { Text("These settings can break things!") Button { print("Not yet!") } label: { Image(systemName: "info.circle") }.buttonStyle(.borderless) } } } } } #Preview { OutputSettings() }