Impressia/CoreData/AttachmentData+Faulty.swift

14 lines
281 B
Swift

//
// https://mczachurski.dev
// Copyright © 2023 Marcin Czachurski and the repository contributors.
// Licensed under the Apache License 2.0.
//
import Foundation
extension AttachmentData {
func isFaulty() -> Bool {
return self.isDeleted || self.isFault
}
}