summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/Section
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-03-01 04:37:10 -0800
committerFuwn <[email protected]>2025-03-01 04:37:10 -0800
commitffa1c05f14400889905a450477a71443c5fe1741 (patch)
treea03b022615fb47cf1546153a0a91a58f74ad4da3 /Sora/Views/Settings/Section
parentfeat: Development commit (diff)
downloadsora-testing-ffa1c05f14400889905a450477a71443c5fe1741.tar.xz
sora-testing-ffa1c05f14400889905a450477a71443c5fe1741.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section')
-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
}
}