summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/SettingsDetailsView.swift
blob: 713577c371002518949458f5abebb85f611e4ab5 (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(BooruPostFileType.allCases, id: \.self) { type in
        Text(type.rawValue.capitalized).tag(type)
      }
    }
  }
}