Swiftgram/submodules/Display/Sources/AlertContentNode.swift
2020-03-01 13:59:30 +04:00

22 lines
491 B
Swift

import Foundation
import UIKit
import AsyncDisplayKit
open class AlertContentNode: ASDisplayNode {
open var requestLayout: ((ContainedViewLayoutTransition) -> Void)?
open var dismissOnOutsideTap: Bool {
return true
}
open func updateLayout(size: CGSize, transition: ContainedViewLayoutTransition) -> CGSize {
assertionFailure()
return CGSize()
}
open func updateTheme(_ theme: AlertControllerTheme) {
}
}