mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Hashtag search improvements
This commit is contained in:
@@ -57,6 +57,8 @@ func leftNavigationButtonForChatInterfaceState(_ presentationInterfaceState: Cha
|
||||
|
||||
if case let .customChatContents(customChatContents) = presentationInterfaceState.subject {
|
||||
switch customChatContents.kind {
|
||||
case .hashTagSearch:
|
||||
break
|
||||
case .quickReplyMessageInput, .businessLinkSetup:
|
||||
if let currentButton = currentButton, currentButton.action == .dismiss {
|
||||
return currentButton
|
||||
@@ -124,6 +126,8 @@ func rightNavigationButtonForChatInterfaceState(context: AccountContext, present
|
||||
|
||||
if case let .customChatContents(customChatContents) = presentationInterfaceState.subject {
|
||||
switch customChatContents.kind {
|
||||
case .hashTagSearch:
|
||||
return nil
|
||||
case let .quickReplyMessageInput(_, shortcutType):
|
||||
switch shortcutType {
|
||||
case .generic:
|
||||
|
||||
Reference in New Issue
Block a user