summaryrefslogtreecommitdiff
path: root/Sora/Views/Post/Grid/PostGridView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Post/Grid/PostGridView.swift')
-rw-r--r--Sora/Views/Post/Grid/PostGridView.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift
index ca3338e..1d90f42 100644
--- a/Sora/Views/Post/Grid/PostGridView.swift
+++ b/Sora/Views/Post/Grid/PostGridView.swift
@@ -60,7 +60,7 @@ struct PostGridView: View {
}
.onChange(of: manager.searchText) { _, _ in
if manager.searchText.isEmpty, !isSearching, !manager.isNavigatingHistory {
- Task { manager.performSearch() }
+ manager.performSearch()
}
}
.onChange(of: manager.posts) { _, newPosts in