Skip to content

Commit

Permalink
chore: Merge branch 'master' into feature-externalLinks
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-coye committed Jan 24, 2025
2 parents 35d1b1d + 902f8cb commit c4e70ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kDrive/UI/View/Files/FileCollectionViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ protocol FileCellDelegate: AnyObject {
.observeFileDownloadProgress(self, fileId: file.id) { [weak self] _, progress in
Task { @MainActor [weak self] in
guard let self else { return }
guard !file.isInvalidated else { return }
handler(!file.isAvailableOffline || progress < 1, progress >= 1 || progress == 0, progress)
}
}
Expand Down

0 comments on commit c4e70ea

Please sign in to comment.