Merge branch 'beta'

This commit is contained in:
Ali
2019-12-20 21:05:50 +04:00
143 changed files with 667 additions and 492 deletions

View File

@@ -447,7 +447,7 @@ func autodownloadMediaCategoryController(context: AccountContext, connectionType
case .wifi:
preset = .high
}
let settings = AutodownloadPresetSettings(disabled: false, photoSizeMax: categories.photo.sizeLimit, videoSizeMax: categories.video.sizeLimit, fileSizeMax: categories.file.sizeLimit, preloadLargeVideo: categories.video.predownload, lessDataForPhoneCalls: false)
let settings = AutodownloadPresetSettings(disabled: false, photoSizeMax: categories.photo.sizeLimit, videoSizeMax: categories.video.sizeLimit, fileSizeMax: categories.file.sizeLimit, preloadLargeVideo: categories.video.predownload, lessDataForPhoneCalls: false, videoUploadMaxbitrate: 0)
return saveAutodownloadSettings(account: context.account, preset: preset, settings: settings)
}
return .complete()