summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Settings')
-rw-r--r--Sora/Views/Settings/Section/SettingsDetailsView.swift12
1 files changed, 12 insertions, 0 deletions
diff --git a/Sora/Views/Settings/Section/SettingsDetailsView.swift b/Sora/Views/Settings/Section/SettingsDetailsView.swift
index 5abd394..885ef6f 100644
--- a/Sora/Views/Settings/Section/SettingsDetailsView.swift
+++ b/Sora/Views/Settings/Section/SettingsDetailsView.swift
@@ -21,5 +21,17 @@ struct SettingsDetailsView: View {
Text("Saves post tags in a file alongside the downloaded image.")
}
#endif
+
+ #if os(macOS)
+ Picker("Preloaded Images", selection: $settings.preloadedCarouselImages) {
+ ForEach(1...10, id: \.self) { columns in Text("\(columns)") }
+ }
+ #else
+ Stepper(
+ "Preloaded Images: \(settings.preloadedCarouselImages)",
+ value: $settings.preloadedCarouselImages,
+ in: 1...10
+ )
+ #endif
}
}