summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/SettingsDetailsView.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-02-20 02:40:26 -0800
committerFuwn <[email protected]>2025-02-20 02:40:26 -0800
commit0538ecfabde1883b71971cf0ce62a4d14ff072cd (patch)
tree029f6d9cb58da3ce338e862f4d43104e36cacb54 /Sora/Views/Settings/SettingsDetailsView.swift
parentfeat: Development commit (diff)
downloadsora-testing-0538ecfabde1883b71971cf0ce62a4d14ff072cd.tar.xz
sora-testing-0538ecfabde1883b71971cf0ce62a4d14ff072cd.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/SettingsDetailsView.swift')
-rw-r--r--Sora/Views/Settings/SettingsDetailsView.swift26
1 files changed, 4 insertions, 22 deletions
diff --git a/Sora/Views/Settings/SettingsDetailsView.swift b/Sora/Views/Settings/SettingsDetailsView.swift
index 29b9e76..4ac784c 100644
--- a/Sora/Views/Settings/SettingsDetailsView.swift
+++ b/Sora/Views/Settings/SettingsDetailsView.swift
@@ -4,28 +4,10 @@ struct SettingsDetailsView: View {
@EnvironmentObject var settings: Settings
var body: some View {
- #if os(macOS)
- Text("Details")
- .font(.headline)
-
- HStack {
- Text("Detail View Type")
-
- Spacer()
-
- Picker("", selection: $settings.detailViewType) {
- ForEach(PostFileType.allCases, id: \.self) { type in
- Text(type.rawValue.capitalized).tag(type)
- }
- }
- .frame(width: 150)
- }
- #else
- Picker("Detail View Type", selection: $settings.detailViewType) {
- ForEach(PostFileType.allCases, id: \.self) { type in
- Text(type.rawValue.capitalized).tag(type)
- }
+ Picker("Detail View Type", selection: $settings.detailViewType) {
+ ForEach(PostFileType.allCases, id: \.self) { type in
+ Text(type.rawValue.capitalized).tag(type)
}
- #endif
+ }
}
}