summaryrefslogtreecommitdiff
path: root/Sora/Views/SettingsView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/SettingsView.swift')
-rw-r--r--Sora/Views/SettingsView.swift30
1 files changed, 14 insertions, 16 deletions
diff --git a/Sora/Views/SettingsView.swift b/Sora/Views/SettingsView.swift
index 59685a5..668d31f 100644
--- a/Sora/Views/SettingsView.swift
+++ b/Sora/Views/SettingsView.swift
@@ -2,29 +2,27 @@ import SwiftUI
struct SettingsView: View {
var body: some View {
- NavigationStack {
- Form {
- Section(header: Text("Thumbnails")) {
- SettingsThumbnailsView()
- }
+ Form {
+ 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("Attributions")) {
- SettingsAttributionsView()
- }
+ Section(header: Text("Attributions")) {
+ SettingsAttributionsView()
}
}
- .navigationTitle("Settings")
#if os(macOS)
- .padding()
+ .formStyle(.grouped)
#endif
+ .navigationTitle("Settings")
}
}