diff options
| author | Fuwn <[email protected]> | 2025-02-22 12:26:31 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-22 12:26:31 -0800 |
| commit | f527ede88d974271a0c485e297ba9278909f53bb (patch) | |
| tree | 6d6ad0597c80fabe48a1de9981bafa968aaf6e29 /Sora/Views/Settings/SettingsView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-f527ede88d974271a0c485e297ba9278909f53bb.tar.xz sora-testing-f527ede88d974271a0c485e297ba9278909f53bb.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/SettingsView.swift')
| -rw-r--r-- | Sora/Views/Settings/SettingsView.swift | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/Sora/Views/Settings/SettingsView.swift b/Sora/Views/Settings/SettingsView.swift index ab92a42..02f9e34 100644 --- a/Sora/Views/Settings/SettingsView.swift +++ b/Sora/Views/Settings/SettingsView.swift @@ -4,37 +4,39 @@ struct SettingsView: View { @EnvironmentObject var settings: Settings var body: some View { - Form { - Section(header: Text("Provider")) { - SettingsProviderView() - } + NavigationStack { + Form { + Section(header: Text("Provider")) { + SettingsProviderView() + } - Section(header: Text("Thumbnails")) { - SettingsThumbnailsView() - } + Section(header: Text("Thumbnails")) { + SettingsThumbnailsView() + } - Section(header: Text("Details")) { - SettingsDetailsView() - } + Section(header: Text("Details")) { + SettingsDetailsView() + } - Section(header: Text("Search")) { - SettingsSearchView() - } + Section(header: Text("Search")) { + SettingsSearchView() + } - Section(header: Text("Settings")) { - Button("Reset to Defaults") { - settings.resetToDefaults() + Section(header: Text("Settings")) { + Button("Reset to Defaults") { + settings.resetToDefaults() + } } - } - Section(header: Text("Attributions")) { - SettingsAttributionsView() + Section(header: Text("Attributions")) { + SettingsAttributionsView() + } } + #if os(macOS) + .formStyle(.grouped) + #endif + .navigationTitle("Settings") } - #if os(macOS) - .formStyle(.grouped) - #endif - .navigationTitle("Settings") } } |