UI and theme improvements

This commit is contained in:
Ali
2021-05-21 20:42:10 +04:00
parent 8557cd629a
commit a6f39e5a77
62 changed files with 1142 additions and 1208 deletions

View File

@@ -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()
}