[WIP] Post suggestions

This commit is contained in:
Isaac
2025-04-23 12:18:56 +04:00
parent 96a5df0b68
commit 603d5754db
57 changed files with 2500 additions and 742 deletions

View File

@@ -59,7 +59,7 @@ func leftNavigationButtonForChatInterfaceState(_ presentationInterfaceState: Cha
switch customChatContents.kind {
case .hashTagSearch:
break
case .quickReplyMessageInput, .businessLinkSetup:
case .quickReplyMessageInput, .businessLinkSetup, .postSuggestions:
if let currentButton = currentButton, currentButton.action == .dismiss {
return currentButton
} else {
@@ -149,6 +149,8 @@ func rightNavigationButtonForChatInterfaceState(context: AccountContext, present
buttonItem.accessibilityLabel = strings.Common_Done
return ChatNavigationButton(action: .edit, buttonItem: buttonItem)
}
case .postSuggestions:
return chatInfoNavigationButton
}
}