Refactoring

This commit is contained in:
Ali
2021-07-07 01:59:12 +04:00
parent 9973b37e97
commit 9134bae908
123 changed files with 509 additions and 1477 deletions

View File

@@ -85,7 +85,7 @@ final class CommandMenuChatInputContextPanelNode: ChatInputContextPanelNode {
self.addSubnode(self.listView)
self.disposable.set((peerCommands(account: context.account, id: peerId)
self.disposable.set((context.engine.peers.peerCommands(id: peerId)
|> deliverOnMainQueue).start(next: { [weak self] results in
if let strongSelf = self {
strongSelf.updateResults(results.commands)