mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
15 lines
353 B
Swift
15 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 []
|
|
}
|
|
}
|