summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/Section/SettingsSearchView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsSearchView.swift')
-rw-r--r--Sora/Views/Settings/Section/SettingsSearchView.swift6
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"))"