mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Refactoring
This commit is contained in:
@@ -38,7 +38,6 @@ final class ComposeControllerNode: ASDisplayNode {
|
||||
self.presentationData = context.sharedContext.currentPresentationData.with { $0 }
|
||||
|
||||
var openCreateNewGroupImpl: (() -> Void)?
|
||||
var openCreateNewSecretChatImpl: (() -> Void)?
|
||||
var openCreateContactImpl: (() -> Void)?
|
||||
var openCreateNewChannelImpl: (() -> Void)?
|
||||
|
||||
@@ -67,9 +66,6 @@ final class ComposeControllerNode: ASDisplayNode {
|
||||
openCreateNewGroupImpl = { [weak self] in
|
||||
self?.openCreateNewGroup?()
|
||||
}
|
||||
openCreateNewSecretChatImpl = { [weak self] in
|
||||
self?.openCreateNewSecretChat?()
|
||||
}
|
||||
openCreateContactImpl = { [weak self] in
|
||||
self?.contactListNode.listNode.clearHighlightAnimated(true)
|
||||
self?.openCreateContact?()
|
||||
|
||||
Reference in New Issue
Block a user