Two-finger message selection

This commit is contained in:
Ilya Laktyushin
2019-11-29 17:53:54 +04:00
parent 4a05d43645
commit e9ea1b57bc
5 changed files with 223 additions and 25 deletions

View File

@@ -650,7 +650,7 @@ final class ShareControllerNode: ViewControllerTracingNode, UIScrollViewDelegate
return transaction.getPeer(peerId).flatMap(RenderedPeer.init(peer:))
} |> deliverOnMainQueue).start(next: { [weak self] peer in
if let strongSelf = self, let peer = peer {
strongSelf.controllerInteraction?.togglePeer(peer, true)
strongSelf.controllerInteraction?.togglePeer(peer, peer.peerId != account.peerId)
}
})
}