diff options
| author | Fuwn <[email protected]> | 2025-02-20 19:33:19 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-20 19:33:19 -0800 |
| commit | e23a8714f6cdc1b55ef96f6bc0f024af049ce299 (patch) | |
| tree | 8496471c3e0a455dc0d0c5c16a3c03964509934e /Sora/Views/Settings/SettingsSourceView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-e23a8714f6cdc1b55ef96f6bc0f024af049ce299.tar.xz sora-testing-e23a8714f6cdc1b55ef96f6bc0f024af049ce299.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/SettingsSourceView.swift')
| -rw-r--r-- | Sora/Views/Settings/SettingsSourceView.swift | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Sora/Views/Settings/SettingsSourceView.swift b/Sora/Views/Settings/SettingsSourceView.swift new file mode 100644 index 0000000..8663290 --- /dev/null +++ b/Sora/Views/Settings/SettingsSourceView.swift @@ -0,0 +1,13 @@ +import SwiftUI + +struct SettingsSourceView: View { + @EnvironmentObject var settings: Settings + + var body: some View { + Picker("Booru", selection: $settings.preferredBooru) { + ForEach(Booru.allCases, id: \.self) { type in + Text(type.rawValue.capitalized).tag(type) + } + } + } +} |