Skip to content

Commit 2c07d82

Browse files
chore(Action): Update condition
1 parent 8118f5d commit 2c07d82

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

MailCore/Cache/Actions/Action.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ public struct Action: Identifiable, Hashable, Equatable {
8989

9090
switch self {
9191
case .delete, .archive, .moveToInbox:
92-
if thread.isSnoozed {
93-
return false
94-
}
95-
return true
92+
return !thread.isSnoozed
9693
case .spam:
9794
return true
9895
default:

0 commit comments

Comments
 (0)