Skip to content

Commit

Permalink
fix: fix pod lint error (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzxha authored Dec 27, 2023
1 parent c9a84b2 commit 8f20be8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public class AliyunpanDownloader: NSObject {
guard let self else {
return
}
let offset = currentWritedSize - lastWritedSize
lastWritedSize = currentWritedSize
let offset = self.currentWritedSize - self.lastWritedSize
self.lastWritedSize = self.currentWritedSize
self.delegates.compactMap { $0.value as? AliyunpanDownloadDelegate }
.forEach { delegate in
DispatchQueue.main.async { [weak self] in
Expand Down

0 comments on commit 8f20be8

Please sign in to comment.