mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
syntax
This commit is contained in:
parent
879b9742b7
commit
67b6dc4db5
@ -528,7 +528,7 @@ private final class MultipartFetchManager {
|
||||
|
||||
if isStory {
|
||||
self.defaultPartSize = 512 * 1024
|
||||
if let size, size > self.defaultPartSize {
|
||||
if let size = size, size > self.defaultPartSize {
|
||||
self.parallelParts = 4
|
||||
} else {
|
||||
self.parallelParts = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user