import SwiftUI struct SettingsView: View { var body: some View { NavigationStack { Form { Section("Browsing") { NavigationLink(destination: SettingsSectionProviderView()) { Text("Source") } NavigationLink(destination: SettingsSectionThumbnailsView()) { Text("Thumbnails") } NavigationLink(destination: SettingsSectionDetailsView()) { Text("Viewer") } } Section("Search") { SettingsSectionSearchView() } Section("Library") { NavigationLink(destination: SettingsCollectionsListView()) { Text("Collections") } } Section("Storage & Sync") { SettingsSectionSettingsView() } Section("Bookmarks") { SettingsSectionImportExportView() } #if DEBUG Section("Debug") { SettingsSectionDebugView() } #endif Section("About") { SettingsSectionCreditsView() } } #if os(macOS) .formStyle(.grouped) #endif .navigationTitle("Settings") } } } #Preview { SettingsView() .environmentObject(SettingsManager()) .environmentObject(BooruManager(.yandere)) }