summaryrefslogtreecommitdiff
path: root/Sora/Views/SearchSuggestionsView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/SearchSuggestionsView.swift')
-rw-r--r--Sora/Views/SearchSuggestionsView.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sora/Views/SearchSuggestionsView.swift b/Sora/Views/SearchSuggestionsView.swift
index 91f1f77..34ccfbc 100644
--- a/Sora/Views/SearchSuggestionsView.swift
+++ b/Sora/Views/SearchSuggestionsView.swift
@@ -9,8 +9,8 @@ struct SearchSuggestionsView: View {
var body: some View {
ForEach(
- tags.filter {
- $0.name.lowercased().contains(lastSearchTag)
+ tags.filter { tag in
+ tag.name.lowercased().contains(lastSearchTag)
}
) { suggestion in
Button {