From 6076f41181aff9930cecc71e4eb845da05f51deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Coye=20de=20Brune=CC=81lis?= Date: Fri, 26 Apr 2024 17:14:17 +0200 Subject: [PATCH] chore: Sonar feedback --- MailCore/Cache/MailboxManager/MailboxManager+Thread.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MailCore/Cache/MailboxManager/MailboxManager+Thread.swift b/MailCore/Cache/MailboxManager/MailboxManager+Thread.swift index d38b285272..b4a28d44b0 100644 --- a/MailCore/Cache/MailboxManager/MailboxManager+Thread.swift +++ b/MailCore/Cache/MailboxManager/MailboxManager+Thread.swift @@ -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 {