Various fixes

This commit is contained in:
Ilya Laktyushin
2023-10-26 02:08:12 +04:00
parent 9231aa8b59
commit 44e737d837
2 changed files with 54 additions and 45 deletions

View File

@@ -1050,7 +1050,7 @@ class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDelegate, Ch
let dashSecondaryColor: UIColor?
let dashTertiaryColor: UIColor?
if let context = self.context, let peer = presentationInterfaceState.renderedPeer?.peer as? TelegramChannel, case .broadcast = peer.info, let nameColor = peer.nameColor {
if let _ = self.context, let peer = presentationInterfaceState.renderedPeer?.peer as? TelegramChannel, case .broadcast = peer.info, let nameColor = peer.nameColor {
let _ = nameColor
lineStyle = .solid