mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Attempt to fix the forwarding panel
This commit is contained in:
@@ -100,7 +100,7 @@ final class ForwardAccessoryPanelNode: AccessoryPanelNode {
|
||||
self.closeButton.displaysAsynchronously = false
|
||||
|
||||
self.lineNode = ASImageNode()
|
||||
self.lineNode.displayWithoutProcessing = true
|
||||
self.lineNode.displayWithoutProcessing = false
|
||||
self.lineNode.displaysAsynchronously = false
|
||||
self.lineNode.image = PresentationResourcesChat.chatInputPanelVerticalSeparatorLineImage(theme)
|
||||
|
||||
@@ -158,6 +158,11 @@ final class ForwardAccessoryPanelNode: AccessoryPanelNode {
|
||||
strongSelf.actionArea.accessibilityLabel = "\(headerString). From: \(authors).\n\(text)"
|
||||
|
||||
strongSelf.setNeedsLayout()
|
||||
if let subnodes = strongSelf.subnodes {
|
||||
for subnode in subnodes {
|
||||
subnode.setNeedsDisplay()
|
||||
}
|
||||
}
|
||||
}
|
||||
}))
|
||||
}
|
||||
@@ -198,7 +203,6 @@ final class ForwardAccessoryPanelNode: AccessoryPanelNode {
|
||||
}
|
||||
|
||||
override func updateState(size: CGSize, interfaceState: ChatPresentationInterfaceState) {
|
||||
|
||||
}
|
||||
|
||||
override func layout() {
|
||||
|
||||
Reference in New Issue
Block a user