Skip to content

Commit

Permalink
chore: Sonar feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-coye committed Apr 26, 2024
1 parent 2571e0b commit 6076f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MailCore/Cache/MailboxManager/MailboxManager+Thread.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public extension MailboxManager {

var paginationInfo: PaginationInfo?
let sortedMessages = fetchResults(ofType: Message.self) { partial in
partial.where { $0.folderId == folder.remoteId && $0.fromSearch == false }
partial.where { $0.folderId == folder.remoteId && !$0.fromSearch }
}.sorted {
guard let firstMessageShortUid = $0.shortUid,
let secondMessageShortUid = $1.shortUid else {
Expand Down

0 comments on commit 6076f41

Please sign in to comment.