Skip to content

Commit

Permalink
fix: Incorrect search results displayed (#1472)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinperignon authored Jun 28, 2024
2 parents e561da6 + e82517a commit 40d9aa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mail/Views/Search/SearchViewModel+Search.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ extension SearchViewModel {
}

currentSearchTask?.cancel()
isLoading = false

currentSearchTask = Task {
await fetchThreads()
}
Expand Down

0 comments on commit 40d9aa9

Please sign in to comment.