Hashtag search improvements

This commit is contained in:
Ilya Laktyushin
2024-05-22 14:04:37 +04:00
parent 7c7456de4b
commit 464eb8625f
53 changed files with 2049 additions and 469 deletions

View File

@@ -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: