summaryrefslogtreecommitdiff
path: root/Sora/Views/Post/PostGridView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Post/PostGridView.swift')
-rw-r--r--Sora/Views/Post/PostGridView.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sora/Views/Post/PostGridView.swift b/Sora/Views/Post/PostGridView.swift
index 3ccc772..89c762a 100644
--- a/Sora/Views/Post/PostGridView.swift
+++ b/Sora/Views/Post/PostGridView.swift
@@ -59,7 +59,7 @@ struct PostGridView: View {
PostDetailsView(post: post)
}
.onChange(of: manager.searchText) { _, _ in
- if manager.searchText.isEmpty && !isSearching {
+ if manager.searchText.isEmpty, !isSearching {
Task {
manager.performSearch()
}