diff options
| author | Fuwn <[email protected]> | 2026-03-24 07:52:49 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-03-24 07:52:49 +0000 |
| commit | cfaca120dd330653b8746e03ba701def4e3f5216 (patch) | |
| tree | 4caba0da97cfbd62de57b1f8fb461283694e7c6d /Sora/Views/Settings/Section/SettingsSectionDetailsView.swift | |
| parent | test: fix verify with Nimble and simulator boot (diff) | |
| download | sora-testing-cfaca120dd330653b8746e03ba701def4e3f5216.tar.xz sora-testing-cfaca120dd330653b8746e03ba701def4e3f5216.zip | |
Refine settings language and structure
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsSectionDetailsView.swift')
| -rw-r--r-- | Sora/Views/Settings/Section/SettingsSectionDetailsView.swift | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Sora/Views/Settings/Section/SettingsSectionDetailsView.swift b/Sora/Views/Settings/Section/SettingsSectionDetailsView.swift index 9634297..8db6002 100644 --- a/Sora/Views/Settings/Section/SettingsSectionDetailsView.swift +++ b/Sora/Views/Settings/Section/SettingsSectionDetailsView.swift @@ -5,7 +5,7 @@ struct SettingsSectionDetailsView: View { var body: some View { Form { - Section(header: Text("Image Quality")) { + Section("Image Quality") { Picker("Image Quality", selection: $settings.detailViewQuality) { ForEach(BooruPostFileType.allCases, id: \.self) { type in Text(type.rawValue.capitalized).tag(type) @@ -13,32 +13,32 @@ struct SettingsSectionDetailsView: View { } } - Section(header: Text("Display Options")) { - Toggle("Enable \"Share Image\" Shortcut", isOn: $settings.enableShareShortcut) + Section("Appearance") { + Toggle("Show Share Action", isOn: $settings.enableShareShortcut) - Toggle("Display Information Bar", isOn: $settings.displayDetailsInformationBar) + Toggle("Show Information Bar", isOn: $settings.displayDetailsInformationBar) } #if os(macOS) - Section(header: Text("File Management")) { + Section("Saved Files") { Toggle(isOn: $settings.saveTagsToFile) { - Text("Save Tags to File") + Text("Save Tags Alongside Images") Text("Saves post tags in a file alongside the downloaded image.") } } #endif - Section(header: Text("Performance")) { + Section("Loading") { let preloadRange = 0...10 #if os(macOS) - Picker("Preloaded Images", selection: $settings.preloadedCarouselImages) { + Picker("Preload Nearby Images", selection: $settings.preloadedCarouselImages) { ForEach(preloadRange, id: \.self) { columns in Text("\(columns)") } } #else Stepper( - "Preloaded Images: \(settings.preloadedCarouselImages)", + "Preload Nearby Images: \(settings.preloadedCarouselImages)", value: $settings.preloadedCarouselImages, in: preloadRange ) @@ -48,7 +48,7 @@ struct SettingsSectionDetailsView: View { #if os(macOS) .formStyle(.grouped) #endif - .navigationTitle("Details") + .navigationTitle("Viewer") #if !os(macOS) .navigationBarTitleDisplayMode(.large) #endif |