diff options
| author | Fuwn <[email protected]> | 2025-02-27 20:42:33 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-27 20:43:11 -0800 |
| commit | 9fb2796c1f488c235450d9c1ce38c40cd12a9b64 (patch) | |
| tree | 37434d822062a7ab650e84dea2d4e2602ddf3f46 /Sora/Views/Settings/Section | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-9fb2796c1f488c235450d9c1ce38c40cd12a9b64.tar.xz sora-testing-9fb2796c1f488c235450d9c1ce38c40cd12a9b64.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section')
| -rw-r--r-- | Sora/Views/Settings/Section/SettingsSearchView.swift | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Sora/Views/Settings/Section/SettingsSearchView.swift b/Sora/Views/Settings/Section/SettingsSearchView.swift index 5036f72..f8fa270 100644 --- a/Sora/Views/Settings/Section/SettingsSearchView.swift +++ b/Sora/Views/Settings/Section/SettingsSearchView.swift @@ -10,7 +10,11 @@ struct SettingsSearchView: View { #endif var body: some View { - Toggle("Suggest Tags", isOn: $settings.searchSuggestions) + Picker("Suggestion Mode", selection: $settings.searchSuggestionsMode) { + ForEach(SettingsSearchSuggestionsMode.allCases, id: \.self) { type in + Text(type.rawValue.capitalized).tag(type) + } + } Button( "Clear Cached Tags (\(manager.cacheSize ?? "Unknown size"))" |