Video avatar fixes

This commit is contained in:
Ilya Laktyushin
2020-07-17 14:05:59 +03:00
parent 913588f205
commit e94e5d90d2
7 changed files with 55 additions and 907 deletions

View File

@@ -1266,13 +1266,6 @@ public func settingsController(context: AccountContext, accountManager: AccountM
resolvedUrlPromise.set(resolvedUrl)
openFaq(resolvedUrlPromise, anchor)
}, openEditing: {
let _ = (contextValue.get()
|> deliverOnMainQueue
|> take(1)).start(next: { context in
if let presentControllerImpl = presentControllerImpl, let pushControllerImpl = pushControllerImpl {
openEditingDisposable.set(openEditSettings(context: context, accountsAndPeers: accountsAndPeers.get(), presentController: presentControllerImpl, pushController: pushControllerImpl))
}
})
}, displayCopyContextMenu: {
let _ = (contextValue.get()
|> deliverOnMainQueue