mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
UI and theme improvements
This commit is contained in:
@@ -3,12 +3,6 @@ import UIKit
|
||||
import Display
|
||||
import AsyncDisplayKit
|
||||
|
||||
public protocol GradientBackgroundNode: ASDisplayNode {
|
||||
func updateColors(colors: [UIColor])
|
||||
func updateLayout(size: CGSize, transition: ContainedViewLayoutTransition)
|
||||
func animateEvent(transition: ContainedViewLayoutTransition)
|
||||
}
|
||||
|
||||
public func createGradientBackgroundNode() -> GradientBackgroundNode {
|
||||
return SoftwareGradientBackgroundNode()
|
||||
return GradientBackgroundNode()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user