Ads and codes improvements

This commit is contained in:
Ilya Laktyushin
2024-09-19 17:47:49 +04:00
parent c474162cff
commit 987befccc4
25 changed files with 102 additions and 32 deletions

View File

@@ -137,7 +137,7 @@ func inputPanelForChatPresentationIntefaceState(_ chatPresentationInterfaceState
var displayInputTextPanel = false
if let peer = chatPresentationInterfaceState.renderedPeer?.peer {
if peer.id.isReplies {
if peer.id.isRepliesOrVerificationCodes {
if let currentPanel = (currentPanel as? ChatChannelSubscriberInputPanelNode) ?? (currentSecondaryPanel as? ChatChannelSubscriberInputPanelNode) {
return (currentPanel, nil)
} else {