mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-08 13:59:29 +00:00
no message
This commit is contained in:
@@ -49,7 +49,8 @@ func rightNavigationButtonForChatInterfaceState(_ presentationInterfaceState: Ch
|
||||
}
|
||||
}
|
||||
|
||||
if let peer = presentationInterfaceState.renderedPeer?.peer {
|
||||
if case .standard(true) = presentationInterfaceState.mode {
|
||||
} else if let peer = presentationInterfaceState.renderedPeer?.peer {
|
||||
if presentationInterfaceState.accountPeerId == peer.id {
|
||||
return ChatNavigationButton(action: .search, buttonItem: UIBarButtonItem(image: PresentationResourcesRootController.navigationCompactSearchIcon(presentationInterfaceState.theme), style: .plain, target: target, action: selector))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user