mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00
Don't dismiss secret chat contact selection screen
This commit is contained in:
parent
fa5c3dbf8f
commit
d247e2012d
@ -146,7 +146,7 @@ public class ComposeController: ViewController {
|
|||||||
|
|
||||||
self.contactsNode.openCreateNewSecretChat = { [weak self] in
|
self.contactsNode.openCreateNewSecretChat = { [weak self] in
|
||||||
if let strongSelf = self {
|
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
|
strongSelf.createActionDisposable.set((controller.result
|
||||||
|> take(1)
|
|> take(1)
|
||||||
|> deliverOnMainQueue).start(next: { [weak controller] peer in
|
|> deliverOnMainQueue).start(next: { [weak controller] peer in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user