mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Video Chat Improvements
This commit is contained in:
@@ -129,9 +129,7 @@ final class VoiceChatTileItemNode: ASDisplayNode {
|
||||
self.contentNode = ASDisplayNode()
|
||||
self.contentNode.clipsToBounds = true
|
||||
self.contentNode.cornerRadius = backgroundCornerRadius
|
||||
if #available(iOS 13.0, *) {
|
||||
self.contentNode.layer.cornerCurve = .continuous
|
||||
}
|
||||
|
||||
self.backgroundNode = ASDisplayNode()
|
||||
self.backgroundNode.backgroundColor = panelBackgroundColor
|
||||
|
||||
@@ -203,6 +201,10 @@ final class VoiceChatTileItemNode: ASDisplayNode {
|
||||
override func didLoad() {
|
||||
super.didLoad()
|
||||
|
||||
if #available(iOS 13.0, *) {
|
||||
self.contentNode.layer.cornerCurve = .continuous
|
||||
}
|
||||
|
||||
self.view.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(self.tap)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user