summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/Section/SettingsDetailsView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsDetailsView.swift')
-rw-r--r--Sora/Views/Settings/Section/SettingsDetailsView.swift39
1 files changed, 0 insertions, 39 deletions
diff --git a/Sora/Views/Settings/Section/SettingsDetailsView.swift b/Sora/Views/Settings/Section/SettingsDetailsView.swift
deleted file mode 100644
index 3866994..0000000
--- a/Sora/Views/Settings/Section/SettingsDetailsView.swift
+++ /dev/null
@@ -1,39 +0,0 @@
-import SwiftUI
-
-struct SettingsDetailsView: View {
- @EnvironmentObject var settings: SettingsManager
-
- 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
-
- let preloadRange = 0...10
-
- #if os(macOS)
- Picker("Preloaded Images", selection: $settings.preloadedCarouselImages) {
- ForEach(preloadRange, id: \.self) { columns in Text("\(columns)") }
- }
- #else
- Stepper(
- "Preloaded Images: \(settings.preloadedCarouselImages)",
- value: $settings.preloadedCarouselImages,
- in: preloadRange
- )
- #endif
- }
-}