blob: 4ac784c6e4b409434f2081e7111d678f249bba4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import SwiftUI
struct SettingsDetailsView: View {
@EnvironmentObject var settings: Settings
var body: some View {
Picker("Detail View Type", selection: $settings.detailViewType) {
ForEach(PostFileType.allCases, id: \.self) { type in
Text(type.rawValue.capitalized).tag(type)
}
}
}
}
|