Don't dismiss secret chat contact selection screen

This commit is contained in:
Peter 2019-10-04 19:57:12 +04:00
parent fa5c3dbf8f
commit d247e2012d

View File

@ -146,7 +146,7 @@ public class ComposeController: ViewController {
self.contactsNode.openCreateNewSecretChat = { [weak self] in
if let strongSelf = self {
let controller = ContactSelectionControllerImpl(ContactSelectionControllerParams(context: strongSelf.context, title: { $0.Compose_NewEncryptedChatTitle }))
let controller = ContactSelectionControllerImpl(ContactSelectionControllerParams(context: strongSelf.context, autoDismiss: false, title: { $0.Compose_NewEncryptedChatTitle }))
strongSelf.createActionDisposable.set((controller.result
|> take(1)
|> deliverOnMainQueue).start(next: { [weak controller] peer in