Update submodules

This commit is contained in:
Ilya Laktyushin 2019-02-21 19:24:23 +04:00
parent 69e15abdd3
commit 718ca43b32
3 changed files with 2 additions and 15 deletions

View File

@ -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