import SwiftUI struct SettingsDetailsView: View { @EnvironmentObject var settings: Settings var body: some View { Picker("Image Quality", selection: $settings.detailViewQuality) { ForEach(BooruPostFileType.allCases, id: \.self) { type in Text(type.rawValue.capitalized).tag(type) } } Toggle("Enable \"Share Image\" Shortcut", isOn: $settings.enableShareShortcut) Toggle("Display Information Bar", isOn: $settings.displayDetailsInformationBar) #if os(macOS) Toggle(isOn: $settings.saveTagsToFile) { Text("Save Tags to File") Text("Saves post tags in a file alongside the downloaded image.") } #endif } }