mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Update submodules
This commit is contained in:
parent
69e15abdd3
commit
718ca43b32
@ -108,18 +108,6 @@ final class AuthorizedApplicationContext {
|
||||
|
||||
self.context = context
|
||||
|
||||
let runningWatchTasksPromise = Promise<WatchRunningTasks?>(nil)
|
||||
|
||||
let runningDownloadTasks = combineLatest(context.sharedContext.accountManager.sharedData(keys: [ApplicationSpecificSharedDataKeys.automaticMediaDownloadSettings]), context.account.shouldKeepBackgroundDownloadConnections.get())
|
||||
|> map { sharedData, shouldKeepBackgroundDownloadConnections -> Bool in
|
||||
let settings: AutomaticMediaDownloadSettings = sharedData.entries[ApplicationSpecificSharedDataKeys.automaticMediaDownloadSettings] as? AutomaticMediaDownloadSettings ?? AutomaticMediaDownloadSettings.defaultSettings
|
||||
if !settings.downloadInBackground {
|
||||
return false
|
||||
}
|
||||
return shouldKeepBackgroundDownloadConnections
|
||||
}
|
||||
|> distinctUntilChanged
|
||||
|
||||
self.showCallsTab = showCallsTab
|
||||
|
||||
self.notificationController = NotificationContainerController(context: context)
|
||||
@ -774,7 +762,6 @@ final class AuthorizedApplicationContext {
|
||||
|
||||
let watchManager = WatchManager(arguments: arguments)
|
||||
strongSelf.context.watchManager = watchManager
|
||||
runningWatchTasksPromise.set(watchManager.runningTasks)
|
||||
|
||||
strongSelf.watchNavigateToMessageDisposable.set((strongSelf.context.sharedContext.applicationBindings.applicationInForeground |> mapToSignal({ applicationInForeground -> Signal<(Bool, MessageId), NoError> in
|
||||
return watchManager.navigateToMessageRequested
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit f787c05c93b792c93f96cacb3c1f4997b338d194
|
||||
Subproject commit a75ff585f0d0e4b2fc260c8a7d48e4d642ef00e0
|
@ -1 +1 @@
|
||||
Subproject commit 31a1a69d2b92d33a33ca8915a9481927074ae45e
|
||||
Subproject commit e53ef3c9f55b4b9721ffdef663223851e133589b
|
Loading…
x
Reference in New Issue
Block a user