summaryrefslogtreecommitdiff
path: root/Sora/Views/SettingsView.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-02-18 23:39:51 -0800
committerFuwn <[email protected]>2025-02-19 00:00:29 -0800
commit320ce31337ed60cae24a0374fa2d6d79237a6bfe (patch)
treead1e93799efeb8e7a16521e3ab958c911f73f617 /Sora/Views/SettingsView.swift
parentfeat: Initial commit (diff)
downloadsora-testing-320ce31337ed60cae24a0374fa2d6d79237a6bfe.tar.xz
sora-testing-320ce31337ed60cae24a0374fa2d6d79237a6bfe.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/SettingsView.swift')
-rw-r--r--Sora/Views/SettingsView.swift32
1 files changed, 32 insertions, 0 deletions
diff --git a/Sora/Views/SettingsView.swift b/Sora/Views/SettingsView.swift
new file mode 100644
index 0000000..105b5b6
--- /dev/null
+++ b/Sora/Views/SettingsView.swift
@@ -0,0 +1,32 @@
+import SwiftUI
+
+struct SettingsView: View {
+ @EnvironmentObject var settings: Settings
+
+ var body: some View {
+ NavigationStack {
+ Form {
+ Section(header: Text("Thumbnails")) {
+ SettingsThumbnailsView()
+ }
+
+ Section(header: Text("Details")) {
+ SettingsDetailsView()
+ }
+
+ Section(header: Text("Search")) {
+ SettingsSearchView()
+ }
+ }
+ }
+ .navigationTitle("Settings")
+ #if os(macOS)
+ .padding()
+ #endif
+ }
+}
+
+#Preview {
+ SettingsView()
+ .environmentObject(Settings())
+}