Support for updated global 3d touch API

Fixed media sharing to secret chats
This commit is contained in:
Peter
2018-11-01 19:10:11 +04:00
parent cacd1ad9d3
commit f110dd2b66
34 changed files with 2435 additions and 2211 deletions

View File

@@ -6,6 +6,9 @@ func inputPanelForChatPresentationIntefaceState(_ chatPresentationInterfaceState
if let renderedPeer = chatPresentationInterfaceState.renderedPeer, renderedPeer.peer?.restrictionText != nil {
return nil
}
if chatPresentationInterfaceState.isNotAccessible {
return nil
}
if let _ = chatPresentationInterfaceState.search {
var hasSelection = false