mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
16 lines
353 B
Swift
16 lines
353 B
Swift
import Foundation
|
|
|
|
final class MyNullCompositionLayer: MyCompositionLayer {
|
|
init(layer: LayerModel) {
|
|
super.init(layer: layer, size: .zero)
|
|
}
|
|
|
|
override func captureDisplayItem() -> CapturedGeometryNode.DisplayItem? {
|
|
return nil
|
|
}
|
|
|
|
override func captureChildren() -> [CapturedGeometryNode] {
|
|
return []
|
|
}
|
|
}
|