mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Support for updated global 3d touch API
Fixed media sharing to secret chats
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user