diff options
| author | Fuwn <[email protected]> | 2025-02-21 01:53:31 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-21 01:53:35 -0800 |
| commit | 617370e834db97c2c6ce5c5bbd3825fcad013b7f (patch) | |
| tree | 8d20d45c0cb1169d8c08509e106d0d57b0d71c72 /Sora/Views/Settings | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-617370e834db97c2c6ce5c5bbd3825fcad013b7f.tar.xz sora-testing-617370e834db97c2c6ce5c5bbd3825fcad013b7f.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings')
| -rw-r--r-- | Sora/Views/Settings/SettingsProviderView.swift (renamed from Sora/Views/Settings/SettingsSourceView.swift) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Sora/Views/Settings/SettingsSourceView.swift b/Sora/Views/Settings/SettingsProviderView.swift index d1f8f30..0829497 100644 --- a/Sora/Views/Settings/SettingsSourceView.swift +++ b/Sora/Views/Settings/SettingsProviderView.swift @@ -1,12 +1,12 @@ import SwiftUI -struct SettingsSourceView: View { +struct SettingsProviderView: View { @EnvironmentObject var settings: Settings var body: some View { - Picker("Booru", selection: $settings.preferredBooru) { + Picker("Provider", selection: $settings.preferredBooru) { ForEach(BooruProvider.allCases, id: \.self) { type in - Text(type.rawValue.capitalized).tag(type) + Text(type.formatted()).tag(type) } } } |