mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
[WIP] Post suggestions
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user