Refactoring

This commit is contained in:
Ali
2021-09-23 18:59:10 +03:00
parent dd19880091
commit 3eead87254
79 changed files with 2106 additions and 1005 deletions

View File

@@ -126,7 +126,7 @@ func handleTextLinkActionImpl(context: AccountContext, peerId: PeerId?, navigate
let peerSignal = context.account.postbox.loadedPeerWithId(peerId)
let _ = (peerSignal
|> deliverOnMainQueue).start(next: { peer in
let searchController = HashtagSearchController(context: context, peer: peer, query: hashtag)
let searchController = HashtagSearchController(context: context, peer: EnginePeer(peer), query: hashtag)
(controller.navigationController as? NavigationController)?.pushViewController(searchController)
})
}