diff options
| author | Fuwn <[email protected]> | 2025-02-20 02:40:26 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-20 02:40:26 -0800 |
| commit | 0538ecfabde1883b71971cf0ce62a4d14ff072cd (patch) | |
| tree | 029f6d9cb58da3ce338e862f4d43104e36cacb54 /Sora/Views/Settings/SettingsDetailsView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-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.swift | 26 |
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 + } } } |