From 0538ecfabde1883b71971cf0ce62a4d14ff072cd Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 20 Feb 2025 02:40:26 -0800 Subject: feat: Development commit --- Sora/Views/Settings/SettingsDetailsView.swift | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) (limited to 'Sora/Views/Settings/SettingsDetailsView.swift') 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 + } } } -- cgit v1.2.3