mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Pre-release
This commit is contained in:
@@ -152,11 +152,11 @@ private final class MultipartUploadManager {
|
||||
self.progress = progress
|
||||
self.completed = completed
|
||||
|
||||
//if headerSize == 0 {
|
||||
if headerSize == 0 {
|
||||
self.headerPartState = .ready
|
||||
/*} else {
|
||||
} else {
|
||||
self.headerPartState = .notStarted
|
||||
}*/
|
||||
}
|
||||
|
||||
if let hintFileSize = hintFileSize, hintFileSize > 10 * 1024 * 1024 {
|
||||
self.defaultPartSize = 512 * 1024
|
||||
|
||||
Reference in New Issue
Block a user